Borderou de evaluare (job #610844)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Numere7 (clasa a 9-a) | Compilator | cpp-32 |
Rundă | lasm_19_10_2021_clasa12 | Status | evaluat |
Dată | 19 oct. 2021 12:13:04 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:5:23: error: expected ']' before ';' token
5 | int a[501][501],fr[501;501],n,u=0,p=0;
| ^
| ]
main.cpp:5:24: error: expected unqualified-id before numeric constant
5 | int a[501][501],fr[501;501],n,u=0,p=0;
| ^~~
main.cpp: In function 'void citire(int)':
main.cpp:13:9: error: 'fr' was not declared in this scope
13 | fr[a[i][j]]++;
| ^~
main.cpp: In function 'void rez(int)':
main.cpp:21:13: error: 'fr' was not declared in this scope
21 | if (fr[i]==0)
| ^~
main.cpp:25:6: error: 'p' was not declared in this scope
25 | p=u=i;
| ^
main.cpp:25:8: error: 'u' was not declared in this scope
25 | p=u=i;
| ^
main.cpp:29:9: error: 'u' was not declared in this scope
29 | u=i;
| ^
main.cpp:31:9: error: 'p' was not declared in this scope
31 | if (p!=0&&u!=0)
| ^
main.cpp:31:15: error: 'u' was not declared in this scope
31 | if (p!=0&&u!=0)
| ^
main.cpp: In function 'int main()':
main.cpp:36:6: error: 'n' was not declared in this scope
36 | fin>>n;
| ^