Pagini recente » Borderou de evaluare (job #2636046) | Borderou de evaluare (job #2391803) | Borderou de evaluare (job #1752544) | Borderou de evaluare (job #78700) | Borderou de evaluare (job #1944622)
Borderou de evaluare (job #1944622)
Raport evaluator
Compilare:
user.cpp: In function ‘void dfs(int, int)’:
user.cpp:14:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < v[nod].size (); ++i)
^
user.cpp:28:12: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if (rez[a[1]] == 1 && (hea[nod] >= hea[a[1]]))
^
user.cpp: In function ‘int main()’:
user.cpp:52:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("treap.in", "r", stdin);
^
user.cpp:53:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("treap.out", "w", stdout);
^
user.cpp:56:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &n);
^
user.cpp:61:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d %d", &x, &y);
^
user.cpp:68:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &tr[i]);
^
user.cpp:71:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &hea[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 164ms | 5532kb | Incorect | 0 | 0 |
2 | 276ms | 7640kb | Incorect | 0 |
3 | 136ms | 4968kb | Incorect | 0 |
4 | 276ms | 7396kb | Incorect | 0 |
5 | 56ms | 3224kb | Incorect | 0 |
6 | 32ms | 2764kb | Incorect | 0 |
7 | 0ms | 2056kb | OK | 5 |
8 | 0ms | 2064kb | Incorect | 0 |
9 | 228ms | 6524kb | Incorect | 0 |
10 | 172ms | 5692kb | Incorect | 0 |
11 | 252ms | 7344kb | Incorect | 0 |
12 | 184ms | 6004kb | Incorect | 0 |
13 | 184ms | 6068kb | Incorect | 0 |
14 | 128ms | 4960kb | Incorect | 0 |
15 | 108ms | 4372kb | Incorect | 0 |
16 | 264ms | 7776kb | Incorect | 0 |
17 | 248ms | 7276kb | Incorect | 0 |
18 | 252ms | 7304kb | Incorect | 0 |
19 | 200ms | 6180kb | Incorect | 0 |
20 | 296ms | 8020kb | Incorect | 0 |
Punctaj total | 0 |