missing line

This commit is contained in:
Abreu 2021-10-23 18:06:32 -03:00
parent 5cf049704f
commit d4a659215e
No known key found for this signature in database
GPG Key ID: 64835466FF55F7E1
1 changed files with 1 additions and 0 deletions

View File

@ -17,6 +17,7 @@ void countProducts() {
int n1, n2, cod, p, np;
p = np = 0;
scanf(" %d %d", &n1, &n2);
while (scanf(" %d", &cod) && cod != 0) {
if(isPrime(cod))
p++;