Borderou de evaluare (job #2500610)

Utilizator Marcel.DragosMarcel Dragos Ignat Marcel.Dragos Data 28 noiembrie 2019 12:56:09
Problema Algoritmul lui Dijkstra Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'std::vector<std::vector<int> > shortest_path_all(const std::vector<std::vector<std::pair<int, int> > >&)': main.cpp:13:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < graph.size(); i++) { ~~^~~~~~~~~~~~~~ main.cpp:16:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < graph.size(); i++) { ~~^~~~~~~~~~~~~~ main.cpp:17:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int j = 0; j < graph.size(); j++) { ~~^~~~~~~~~~~~~~ main.cpp:25:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < graph.size(); i++) { ~~^~~~~~~~~~~~~~ main.cpp:26:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int j = 0; j < graph[i].size(); j++) { ~~^~~~~~~~~~~~~~~~~ main.cpp:31:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int k = 0; k < graph.size(); k++) { ~~^~~~~~~~~~~~~~ main.cpp:36:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < graph.size(); i++) ~~^~~~~~~~~~~~~~ main.cpp:37:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int j = 0; j < graph[i].size(); j++) { ~~^~~~~~~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:76:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < cost_matrix.size(); i++) { ~~^~~~~~~~~~~~~~~~~~~~ main.cpp:77:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int j = 0; j < cost_matrix.size(); j++) { ~~^~~~~~~~~~~~~~~~~~~~ main.cpp:53:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("dijkstra.in", "r", stdin); ^ main.cpp:54:41: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("dijkstra.out", "w", stdout); ^ main.cpp:59:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &n, &m); ^ main.cpp:68:43: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d", &src, &dst, &cost); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbIncorect0
22ms131kbIncorect0
3251ms9179kbIncorect0
4477ms12304kbMemory limit exceeded0
571ms12304kbMemory limit exceeded0
691ms12304kbMemory limit exceeded0
786ms12304kbMemory limit exceeded0
8225ms12292kbMemory limit exceeded0
999ms12304kbMemory limit exceeded0
10345ms12304kbMemory limit exceeded0
Punctaj total0

Ceva nu functioneaza?