Borderou de evaluare (job #786800)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Centru Prim (clasa a 5-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 17 sept. 2024 22:08:50 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:13:18: error: 'centruprim' was not declared in this scope
13 | ifstream fin(centruprim.in);
| ^~~~~~~~~~
main.cpp:18:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
18 | if(a>100 && a<2000000000)
| ^~
main.cpp:24:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
24 | if(g%2==0)
| ^~
main.cpp:29:14: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
29 | else if(g%2==1)
| ^~
main.cpp:34:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
34 | if(primi(v)==2)
| ^~