Pagini recente » Borderou de evaluare (job #1608278) | Borderou de evaluare (job #2620662) | Borderou de evaluare (job #1140062) | Borderou de evaluare (job #2321657) | Borderou de evaluare (job #1413650)
Borderou de evaluare (job #1413650)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:10:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("rucsac.in", "r", stdin);
^
user.cpp:11:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("rucsac.out", "w", stdout);
^
user.cpp:12:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d%d", &n, &g);
^
user.cpp:13:54: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (i=1; i<=n; i++) scanf ("%d%d", &w[i], &p[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 260kb | OK | 5 | 10 |
2 | 0ms | 268kb | OK | 5 |
3 | 0ms | 272kb | OK | 5 | 15 |
4 | 0ms | 264kb | OK | 5 |
5 | 0ms | 268kb | OK | 5 |
6 | 0ms | 268kb | OK | 5 | 10 |
7 | 0ms | 272kb | OK | 5 |
8 | 4ms | 272kb | OK | 5 | 15 |
9 | 4ms | 276kb | OK | 5 |
10 | 4ms | 280kb | OK | 5 |
11 | 52ms | 308kb | OK | 5 | 15 |
12 | 44ms | 312kb | OK | 5 |
13 | 44ms | 316kb | OK | 5 |
14 | 140ms | 324kb | Incorect | 0 | 0 |
15 | 172ms | 324kb | Incorect | 0 |
16 | 140ms | 320kb | Incorect | 0 |
17 | 88ms | 320kb | OK | 5 | 0 |
18 | 216ms | 328kb | Incorect | 0 |
19 | 176ms | 328kb | Incorect | 0 |
20 | 180ms | 328kb | Incorect | 0 |
Punctaj total | 65 |