commentaires

parent 8b6ae2bd
Pipeline #9493 passed with stage
in 0 seconds
......@@ -108,7 +108,7 @@ int is_prime (uint_64 number){
int k;
if (number <= 20){k = number-1;}
else{k = 20;}
random = randomiser(k,number);
random = randomiser(k,number); // génère un nombre aléatoire
for (int i = 0; i < k; i++)
{
if (modpow(random[i],number-1,number) == 1)
......@@ -126,9 +126,7 @@ int is_prime (uint_64 number){
}
/*
Ajoute val à la tête d'une queu
*/
/* Ajoute val à la tête d'une queu */
void enqueue(queue_t* q, uint_64 val){
struct node *ptr;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment