Pagini recente » Borderou de evaluare (job #1241817) | Borderou de evaluare (job #1415576) | Borderou de evaluare (job #205400) | Borderou de evaluare (job #1960981) | Borderou de evaluare (job #2244766)
Borderou de evaluare (job #2244766)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:30: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:31: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:33:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &g);
^
user.cpp:35:46: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &weight[i], &profit[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 936kb | OK | 5 | 10 |
2 | 0ms | 752kb | OK | 5 |
3 | 0ms | 752kb | OK | 5 | 15 |
4 | 0ms | 804kb | OK | 5 |
5 | 0ms | 756kb | OK | 5 |
6 | 0ms | 936kb | OK | 5 | 10 |
7 | 0ms | 856kb | OK | 5 |
8 | 4ms | 860kb | OK | 5 | 15 |
9 | 4ms | 808kb | OK | 5 |
10 | 4ms | 756kb | OK | 5 |
11 | 40ms | 876kb | OK | 5 | 15 |
12 | 40ms | 752kb | OK | 5 |
13 | 44ms | 868kb | OK | 5 |
14 | 124ms | 864kb | OK | 5 | 15 |
15 | 132ms | 856kb | OK | 5 |
16 | 124ms | 860kb | OK | 5 |
17 | 80ms | 804kb | OK | 5 | 20 |
18 | 168ms | 872kb | OK | 5 |
19 | 156ms | 768kb | OK | 5 |
20 | 156ms | 876kb | OK | 5 |
Punctaj total | 100 |