Borderou de evaluare (job #688759)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Partprim (clasa a 7-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 19 ian. 2023 19:24:41 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void spr(int, int&)':
main.cpp:10:16: error: 'ciur' cannot be used as a function
10 | if(ciur(i) == '0'){
| ~~~~^~~
main.cpp:12:20: error: 'prim' was not declared in this scope
12 | if(prim(n - i) == '0'){
| ^~~~
main.cpp: In function 'int main()':
main.cpp:30:25: error: 'n' was not declared in this scope
30 | for ( p = 2; p * p <= n; p++ )
| ^