Pagini recente » Borderou de evaluare (job #227880) | Borderou de evaluare (job #2510682) | Borderou de evaluare (job #1576096) | Borderou de evaluare (job #2531576) | Borderou de evaluare (job #1560999)
Borderou de evaluare (job #1560999)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:13:37: 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:14:39: 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:16:55: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n", &numar_obiecte, &greutate_maxima);
^
user.cpp:19:45: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n", &greutate, &profit);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 260kb | OK | 5 | 10 |
2 | 0ms | 260kb | OK | 5 |
3 | 0ms | 268kb | OK | 5 | 15 |
4 | 0ms | 264kb | OK | 5 |
5 | 0ms | 260kb | OK | 5 |
6 | 0ms | 264kb | OK | 5 | 10 |
7 | 0ms | 268kb | OK | 5 |
8 | 0ms | 268kb | OK | 5 | 15 |
9 | 0ms | 264kb | OK | 5 |
10 | 0ms | 264kb | OK | 5 |
11 | 32ms | 280kb | OK | 5 | 15 |
12 | 16ms | 280kb | OK | 5 |
13 | 16ms | 276kb | OK | 5 |
14 | 56ms | 292kb | OK | 5 | 15 |
15 | 104ms | 296kb | OK | 5 |
16 | 56ms | 296kb | OK | 5 |
17 | 36ms | 284kb | OK | 5 | 20 |
18 | 132ms | 296kb | OK | 5 |
19 | 68ms | 296kb | OK | 5 |
20 | 72ms | 300kb | OK | 5 |
Punctaj total | 100 |