Borderou de evaluare (job #2923219)
Utilizator | Data | 12 septembrie 2022 11:18:33 | |
---|---|---|---|
Problema | Roy-Floyd | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:6:12: error: invalid types 'int[int]' for array subscript
6 | int mat[257[257];
| ^
main.cpp:6:17: error: expected ']' before ';' token
6 | int mat[257[257];
| ^
| ]
main.cpp: In function 'int main()':
main.cpp:16:18: error: 'mat' was not declared in this scope
16 | cin>>mat[i][j];
| ^~~
main.cpp:29:20: error: 'mat' was not declared in this scope
29 | if(mat[i][j]>mat[i][k]+mat[k][j])
| ^~~
main.cpp:48:23: error: 'mat' was not declared in this scope
48 | cout<<mat[i][j]<<" ";
| ^~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !