Borderou de evaluare (job #3260558)

Utilizator Cezar2009Cezar Mihai Titihazan Cezar2009 Data 2 decembrie 2024 19:19:23
Problema Roy-Floyd Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:20:20: error: invalid types 'int[int]' for array subscript 20 | pair<int,int> d[257[257]; | ^ main.cpp:20:25: error: expected ']' before ';' token 20 | pair<int,int> d[257[257]; | ^ | ] main.cpp: In function 'int main()': main.cpp:35:25: error: 'd' was not declared in this scope 35 | d[i][j].first = x; | ^ main.cpp:50:37: error: 'd' was not declared in this scope 50 | if (d[i][j].first > d[i][k].first + d[k][j].first) | ^ main.cpp:70:29: error: 'd' was not declared in this scope 70 | if (d[i][j].first == 1e6) | ^ main.cpp:82:33: error: 'd' was not declared in this scope 82 | fout << d[i][j].second << " "; | ^ Non zero exit status: 1

Ceva nu functioneaza?