Pagini recente » Borderou de evaluare (job #1665671) | Borderou de evaluare (job #1592477) | Borderou de evaluare (job #539876) | Borderou de evaluare (job #872281) | Borderou de evaluare (job #1944711)
Borderou de evaluare (job #1944711)
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 | 172ms | 5528kb | Incorect | 0 | 0 |
2 | 284ms | 7636kb | Incorect | 0 |
3 | 140ms | 4968kb | Incorect | 0 |
4 | 264ms | 7400kb | Incorect | 0 |
5 | 56ms | 3228kb | Incorect | 0 |
6 | 36ms | 2768kb | Incorect | 0 |
7 | 0ms | 2056kb | OK | 5 |
8 | 0ms | 2056kb | Incorect | 0 |
9 | 220ms | 6524kb | Incorect | 0 |
10 | 180ms | 5688kb | Incorect | 0 |
11 | 244ms | 7348kb | Incorect | 0 |
12 | 184ms | 6004kb | Incorect | 0 |
13 | 188ms | 6076kb | Incorect | 0 |
14 | 128ms | 4956kb | Incorect | 0 |
15 | 104ms | 4380kb | Incorect | 0 |
16 | 264ms | 7772kb | Incorect | 0 |
17 | 248ms | 7280kb | Incorect | 0 |
18 | 252ms | 7308kb | Incorect | 0 |
19 | 204ms | 6172kb | Incorect | 0 |
20 | 296ms | 8020kb | Incorect | 0 |
Punctaj total | 0 |