Borderou de evaluare (job #2469062)

Utilizator bogdi1bogdan bancuta bogdi1 Data 6 octombrie 2019 14:43:42
Problema Atac2 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 70

Raport evaluator

Compilare: main.cpp: In function 'void bfs(int)': main.cpp:46:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=0; i<muchii[u].size(); i++) ~^~~~~~~~~~~~~~~~~ main.cpp: In function 'void belford(int, int)': main.cpp:66:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=0; i<g[u].size(); i++) ~^~~~~~~~~~~~ main.cpp: In function 'bool dijkstra(int, int)': main.cpp:88:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=0; i<g[u.nod].size(); i++) ~^~~~~~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:147:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i=u+1; i<=u+muchii[x].size(); i++){ ~^~~~~~~~~~~~~~~~~~~~ main.cpp:118:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] { freopen("atac2.in", "r", stdin); ^ main.cpp:119:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("atac2.out", "w", stdout); ^ main.cpp:121:38: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d%d", &n, &m, &u, &x); ^ main.cpp:123:30: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &oras[i]); ^ main.cpp:125:31: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &x1, &y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms393kbOK5
23ms393kbOK5
33ms393kbOK5
44ms393kbOK5
54ms393kbOK5
65ms393kbOK5
75ms393kbOK5
87ms524kbOK5
97ms524kbOK5
109ms524kbOK5
1158ms1355kbOK5
1299ms2064kbOK5
134ms524kbOK5
149ms524kbOK5
1516ms663kbKilled by Signal 110
1621ms790kbKilled by Signal 110
1741ms1261kbKilled by Signal 110
1839ms1130kbKilled by Signal 110
1954ms1396kbKilled by Signal 110
2084ms1961kbKilled by Signal 110
Punctaj total70

Ceva nu functioneaza?