Borderou de evaluare (job #708962)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Paritate (clasa a 9-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 17 mar. 2023 17:49:58 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:25:13: error: 'a' was not declared in this scope
25 | a[i]=nr;
| ^
main.cpp:28:13: error: 'a' was not declared in this scope
28 | a[i]=1;
| ^
main.cpp:35:16: error: 'a' was not declared in this scope
35 | if(a[j]==10){
| ^
main.cpp:46:16: error: 'a' was not declared in this scope
46 | if(a[j]==1){
| ^