Borderou de evaluare (job #2392944)

Utilizator bogdan10bosBogdan Sitaru bogdan10bos Data 30 martie 2019 17:17:31
Problema Sushi2 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 25

Raport evaluator

Compilare: main.cpp: In function 'int DFS(int)': main.cpp:26:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = (nod == 1 ? 0 : 1); i < edg[nod].size(); i++) ~~^~~~~~~~~~~~~~~~~ main.cpp:46:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = (nod == 1 ? 0 : 1); i < edg[nod].size(); i++) ~~^~~~~~~~~~~~~~~~~ main.cpp: In function 'void DFS2(int, int)': main.cpp:60:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = (nod == 1 ? 0 : 1); i < edg[nod].size(); i++) ~~^~~~~~~~~~~~~~~~~ main.cpp:63:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = (nod == 1 ? 0 : 1); i < edg[nod].size(); i++) ~~^~~~~~~~~~~~~~~~~ main.cpp:75:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = (nod == 1 ? 0 : 1); i < edg[nod].size(); i++) ~~^~~~~~~~~~~~~~~~~ main.cpp:77:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = (nod == 1 ? 0 : 1); i < edg[nod].size(); i++) ~~^~~~~~~~~~~~~~~~~ main.cpp:86:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = (nod == 1 ? 0 : 1); i < edg[nod].size(); i++) ~~^~~~~~~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:93:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("sushi2.in", "r", stdin); ^ main.cpp:94:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("sushi2.out", "w", stdout); ^ main.cpp:97: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:102:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &L); ^ main.cpp:106:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &x); ^ main.cpp:114:36: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d", &x, &y, &z); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbOK5
22ms131kbIncorect0
32ms131kbOK5
42ms131kbOK5
53ms131kbOK5
63ms131kbOK5
73ms131kbKilled by Signal 110
82ms131kbKilled by Signal 110
93ms131kbKilled by Signal 110
103ms131kbKilled by Signal 110
113ms131kbKilled by Signal 110
123ms131kbKilled by Signal 110
133ms131kbKilled by Signal 110
143ms131kbKilled by Signal 110
153ms131kbKilled by Signal 110
163ms131kbKilled by Signal 110
173ms131kbKilled by Signal 110
183ms131kbKilled by Signal 110
193ms131kbKilled by Signal 110
203ms131kbKilled by Signal 110
Punctaj total25

Ceva nu functioneaza?