Borderou de evaluare (job #2069422)

Utilizator petru_galaxyAnton Petru-Adrian petru_galaxy Data 18 noiembrie 2017 13:32:26
Problema Numere Prime Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int ciur()’: user.cpp:8:15: error: ‘i’ was not declared in this scope for (i = 2; i <= 130000; ++i) ^ user.cpp:10:14: error: ‘j’ was not declared in this scope for (j = i+i; j <= n; j += i) ^ user.cpp:10:28: error: ‘n’ was not declared in this scope for (j = i+i; j <= n; j += i) ^ user.cpp:12:3: warning: no return statement in function returning non-void [-Wreturn-type] } ^ user.cpp: In function ‘int main()’: user.cpp:15:10: error: ‘k’ was not declared in this scope fin>>k; ^ user.cpp:17:10: error: ‘i’ was not declared in this scope for (i = 2; i <= 130000; ++i) ^ user.cpp:20:14: error: ‘nr’ was not declared in this scope nr++; ^

Ceva nu functioneaza?