Borderou de evaluare (job #782155)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Cyber (clasa 5-6) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 11 iul. 2024 12:29:04 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:44:20: error: 'N' was not declared in this scope
44 | for(int i=2;i<=N;++i)
| ^
main.cpp:46:20: error: 'N' was not declared in this scope
46 | for(int i=2;i<=N/2;++i)
| ^
main.cpp:11:15: warning: unused variable 'b' [-Wunused-variable]
11 | int n,i,a,b,x,d,ok=0,j;
| ^
main.cpp:11:19: warning: unused variable 'd' [-Wunused-variable]
11 | int n,i,a,b,x,d,ok=0,j;
| ^
main.cpp:11:21: warning: unused variable 'ok' [-Wunused-variable]
11 | int n,i,a,b,x,d,ok=0,j;
| ^~
main.cpp:11:26: warning: unused variable 'j' [-Wunused-variable]
11 | int n,i,a,b,x,d,ok=0,j;
| ^