Borderou de evaluare (job #1605260)

Utilizator flandreiFlavius Andrei flandrei Data 18 februarie 2016 21:15:58
Problema Sakura Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘void clearStuff()’: user.cpp:86:41: warning: suggest parentheses around assignment used as truth value [-Wparentheses] levela[i] = levelb[i] = used[i] = left[i] = right[i] = sizea[i] = sizeb[i] = 0; ^ user.cpp: In function ‘int main()’: user.cpp:150:48: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int x = 0; x < deptha[i].size(); ++ x) ^ user.cpp:151:52: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int y = 0; y < depthb[i].size(); ++ y) ^ user.cpp:167:56: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int j = 0; j < ga[node1].size(); ++ j) ^ user.cpp:170:56: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int j = 0; j < gb[node2].size(); ++ j) ^ user.cpp:175:52: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int j = 0; j < sons1.size(); ++ j) ^ user.cpp:176:56: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int k = 0; k < sons2.size(); ++ k) ^ user.cpp:106:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("sakura.in", "r", stdin); ^ user.cpp:107:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("sakura.out", "w", stdout); ^ user.cpp:109:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%i", &t); ^ user.cpp:113:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%i", &n); ^ user.cpp:116:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%i %i", &a, &b); ^ user.cpp:122:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%i", &m); ^ user.cpp:125:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%i %i", &a, &b); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms620kbOK10
20ms616kbOK10
34ms680kbOK10
44ms680kbOK10
54ms672kbOK10
64ms676kbOK10
736ms1660kbOK10
836ms1580kbOK10
944ms1600kbOK10
1036ms1588kbOK10
Punctaj total100

Ceva nu functioneaza?