About 1,001,798 results (5,806 milliseconds)

Print the first n prime numbers

https://groups.google.com/g/blockly/c/JoVK1hopKGk
Jun 14, 2023 ... I need help creating code to be able to print the first n prime numbers (n is specified from the keyboard). Neil Fraser's profile photo. Neil ...

Newb to Javascript, learning to populate a spreadsheet...

https://groups.google.com/g/google-apps-script-community/c/cZGrxGcoyAY
I have found code examples for populating prime numbers on StackOverflow ... How is the code for just printing the ordinals in my spreadsheet column ...

Basic Programming

https://sites.google.com/a/case.edu/hpcc/guides-and-training/helpful-references/programming/basic-programming--hpc
The equivalent code in C is primeNumbers. ... So, despite the syntax error, the interpreter executes the statement that prints the Number of Prime Numbers.

[ANN] primegen.go: Sieve of Atkin prime number generator

https://groups.google.com/g/golang-nuts/c/zRvkdfpeOY8
The C/C++ code will still be quicker, mainly because of no array bounds check for a couple of CPU clock cycles, but also because it is more efficient to use ...

Fast Fizz Buzz program

https://groups.google.com/g/comp.lang.asm.x86/c/avLse_BYz1I
> to handle this particular case, i.e. use a C program to generate an ... just print text file with already calculated prime numbers. No cheating, guys!

What is the current row in a list

https://groups.google.com/g/e-prime/c/2PdEuDVetyo
Feb 23, 2009 ... Suggestions? My line of code: Debug.Print "Row = " + str(c.GetAttrib(BlockList.Sample)) And:

Can't recover my second account to verify my first account - Google ...

https://support.google.com/accounts/thread/156885773/can-t-recover-my-second-account-to-verify-my-first-account?hl=en
Print Prime. Original Poster. Mar 23, 2022. 3/23/2022, 5:46:38 AM ... 1st - To continue, first verify it's you (Im asked my primary a/c password). 2nd - We ...

Inheritance in Julia

https://groups.google.com/g/julia-dev/c/eA4VkFAD-yQ
jl where the underlying Gtk C code supports multiple inheritance of interfaces. ... How would I program the type of all prime numbers in Julia? As I understand ...

[9fans] Concurrency and message passing with Newsqueak

https://groups.google.com/g/comp.os.plan9/c/lREwq8_PUG4/m/BUQ0dfHtaXYJ
(setf n (prime (1+ n))) (setf list (cons n list))))))). (defun primes (num) (let ((sieve (get-sieve))) (dotimes (n num) (print (funcall sieve))))). (defun ...

Week 4 Day 1, C Exercises (Optional Challenge Problems)

https://colab.research.google.com/github/jamcoders/syllabus-resources-2023/blob/main/week4/labs/w4d1c.ipynb
Input: words = ["word","world","row"], order = "worldabcefghijkmnpqstuvxyz" Output ... In our program, we represent this prime factorization as a list: [2, 1, 1] ...

part1_solutions.ipynb - Colab

https://colab.research.google.com/github/mmjh-dev/ds3-intro-python/blob/main/exercises/part1_solutions.ipynb
# `zip` creates an iterator. # Given two sequences, [1, 2, 3] and [a, b, c] ... Write code that prints all prime numbers less than 10000. For an additional ...

Julia computational efficiency vs C vs Java vs Python vs Cython

https://groups.google.com/g/julia-users/c/Rte_I6htLRc/m/VUNJP06JjfAJ
... code for finding n first prime numbers]. Rewriting the code in different ... print(sum(result),"\r\n") end. Steven G. Johnson's profile photo. Steven G ...

Re: Diffie algorithm in openssl: and Java

https://groups.google.com/g/mailing.openssl.users/c/-Ib-ndLmKNY
when i use small prime numbers.It means JCE uses DSA paramateres for DH algorithm. ... below is the complete C code written to generate DH params. most of the ...

01_control_statements_solutions.ipynb - Colab

https://colab.research.google.com/github/kks32-courses/ce311k/blob/main/notebooks/lectures/01_control_flow/01_control_statements_solutions.ipynb
Below is a program for finding prime numbers that uses a break statement. Take some time to understand what it does. It might be helpful to add some print ...

02Conditionals_Lists.ipynb - Colab

https://colab.research.google.com/github/weymouth/NumericalPython/blob/main/02ConditionalsAndLists.ipynb
This function uses a different print statement based on the properties of the number. In numerical computing we often use these code "branches" to choose ...

PDP-8 Programming Challenges

https://groups.google.com/g/pidp-8/c/h7AKaN-hvEI
... program, usually. outputting a NUL character. As Charles points out, this "primes the pump" by setting the output. ready flag when the NUL has finished ...

Fast Stimulus Presentations

https://groups.google.com/g/psychopy-users/c/CnfuQAbeajY
... prime, and grabbing that time immediately after and printing it. On a Dell XPS laptop, when I use this code, the time that's being printed is around 90 ms ...

Slic3r and Kisslicer?

https://groups.google.com/g/makerbot/c/8hQ9ZjrX-S4
There are specific Gcodes attached to each printer setting, I use a little different start/end code. When to be sure, just copy and paste your Gcode you ...

mpz_probab_prime_p

https://groups.google.com/g/mpir-devel/c/_pp2WRgwrHk/m/0jJsAIn71s0J
probable prime , which can mean something specific. This would be the function that you would use in a integer prime factorization program , optimized for speed ...

CP-SAT Solver | OR-Tools | Google for Developers

https://developers.google.com/optimization/cp/cp_solver
Aug 28, 2024 ... The following code calls the solver, and passes the solution printer to it. ... The complete programs are shown below. Python C++ Java C#