Borderou de evaluare (job #3203698)
Utilizator | Data | 14 februarie 2024 11:05:22 | |
---|---|---|---|
Problema | Floyd-Warshall/Roy-Floyd | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:7:14: error: invalid types 'int[int]' for array subscript
7 | int n, g[1001[1001];
| ^
main.cpp:7:20: error: expected ']' before ';' token
7 | int n, g[1001[1001];
| ^
| ]
main.cpp: In function 'int main()':
main.cpp:13:20: error: 'g' was not declared in this scope
13 | fin >> g[i][j];
| ^
main.cpp:18:20: error: 'g' was not declared in this scope
18 | if(g[i][j] > g[i][k] + g[k][j])
| ^
main.cpp:23:21: error: 'g' was not declared in this scope
23 | fout << g[i][j] << ' ';
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !