Borderou de evaluare (job #644448)
| Utilizator |
|
IP | ascuns |
|---|---|---|---|
| Problemă | Flori | Compilator | cpp-32 |
| Rundă | Arhiva de probleme | Status | evaluat |
| Dată | 28 mar. 2022 17:53:31 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:5:11: error: invalid types 'int[int]' for array subscript
5 | int a[1002[1002], s[1002][1002];
| ^
main.cpp:5:17: error: expected ']' before ',' token
5 | int a[1002[1002], s[1002][1002];
| ^
| ]
main.cpp: In function 'int main()':
main.cpp:9:15: error: variable 'std::ifstream fin' has initializer but incomplete type
9 | ifstream fin("flori.in");
| ^
main.cpp:10:16: error: variable 'std::ofstream fout' has initializer but incomplete type
10 | ofstream fout("flori.out");
| ^
main.cpp:15:12: error: 'a' was not declared in this scope
15 | fin>>a[i][j];
| ^
main.cpp:33:16: error: 'a' was not declared in this scope
33 | s[i][j]+=a[i][j];
| ^