Borderou de evaluare (job #701521)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Vânător (clasa a 5-a) | Compilator | cpp-32 |
Rundă | superoji1 | Status | evaluat |
Dată | 6 mar. 2023 14:08:59 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:10:20: error: 'n' was not declared in this scope
10 | for(int i=1;i<=n;i++){
| ^
main.cpp:11:14: error: 'a' was not declared in this scope
11 | fin>>a;
| ^
main.cpp:13:8: error: 'n' was not declared in this scope
13 | if(n%2==1)
| ^
main.cpp:8:11: warning: unused variable 'g' [-Wunused-variable]
8 | int N,g;
| ^