Pagini recente » Borderou de evaluare (job #269034) | Borderou de evaluare (job #2960448) | Borderou de evaluare (job #364742) | Borderou de evaluare (job #441757) | Borderou de evaluare (job #1303229)
Borderou de evaluare (job #1303229)
Raport evaluator
Compilare:
user.cpp: In function ‘bool cmp(oaie, oaie)’:
user.cpp:18:53: warning: operation on ‘y.oaie::cant’ may be undefined [-Wsequence-point]
x.cant = x.cant + y.cant - (y.cant = x.cant);
^
user.cpp:19:53: warning: operation on ‘y.oaie::dist’ may be undefined [-Wsequence-point]
x.dist = x.dist + y.dist - (y.dist = x.dist);
^
user.cpp: In function ‘void addheap(int)’:
user.cpp:35:74: warning: operation on ‘heap[tata]’ may be undefined [-Wsequence-point]
heap[fiu] = heap[fiu] + heap[tata] - (heap[tata] = heap[fiu]);
^
user.cpp: In function ‘int extractmax()’:
user.cpp:57:74: warning: operation on ‘heap[tata]’ may be undefined [-Wsequence-point]
heap[fiu] = heap[fiu] + heap[tata] - (heap[tata] = heap[fiu]);
^
user.cpp: In function ‘int main()’:
user.cpp:69:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("lupu.in", "r", stdin);
^
user.cpp:72:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d\n", &n, &x, &l);
^
user.cpp:74:47: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &a[i].dist, &a[i].cant);
^
user.cpp:83:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("lupu.out", "w", stdout);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 256kb | OK | 4 |
2 | 0ms | 252kb | OK | 4 |
3 | 0ms | 252kb | OK | 4 |
4 | 0ms | 272kb | OK | 4 |
5 | 0ms | 268kb | OK | 4 |
6 | 0ms | 248kb | OK | 4 |
7 | 0ms | 256kb | OK | 4 |
8 | 0ms | 260kb | OK | 4 |
9 | 0ms | 264kb | OK | 4 |
10 | 0ms | 276kb | OK | 4 |
11 | 0ms | 280kb | OK | 4 |
12 | 4ms | 412kb | OK | 4 |
13 | 88ms | 1620kb | OK | 4 |
14 | 64ms | 1332kb | OK | 4 |
15 | 28ms | 820kb | OK | 4 |
16 | 56ms | 1152kb | OK | 4 |
17 | 60ms | 1308kb | OK | 4 |
18 | 64ms | 1580kb | OK | 4 |
19 | 64ms | 1348kb | OK | 4 |
20 | 76ms | 1764kb | OK | 4 |
21 | 88ms | 1620kb | OK | 4 |
22 | 72ms | 1808kb | OK | 4 |
23 | 76ms | 1812kb | OK | 4 |
24 | 76ms | 1812kb | OK | 4 |
25 | 52ms | 1420kb | OK | 4 |
Punctaj total | 100 |