Pagini recente » Borderou de evaluare (job #969049) | Borderou de evaluare (job #753674) | Borderou de evaluare (job #1372668) | Borderou de evaluare (job #3261330) | Borderou de evaluare (job #1605260)
Borderou de evaluare (job #1605260)
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 |
1 | 0ms | 620kb | OK | 10 |
2 | 0ms | 616kb | OK | 10 |
3 | 4ms | 680kb | OK | 10 |
4 | 4ms | 680kb | OK | 10 |
5 | 4ms | 672kb | OK | 10 |
6 | 4ms | 676kb | OK | 10 |
7 | 36ms | 1660kb | OK | 10 |
8 | 36ms | 1580kb | OK | 10 |
9 | 44ms | 1600kb | OK | 10 |
10 | 36ms | 1588kb | OK | 10 |
Punctaj total | 100 |