Pagini recente » Borderou de evaluare (job #2556535) | Borderou de evaluare (job #2340119) | Borderou de evaluare (job #1312242) | Borderou de evaluare (job #2305516) | Borderou de evaluare (job #1767816)
Borderou de evaluare (job #1767816)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:12:35: 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:13:37: 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:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &N, &G);
^
user.cpp:18:43: 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 | 264kb | OK | 5 | 10 |
2 | 0ms | 276kb | OK | 5 |
3 | 0ms | 272kb | OK | 5 | 15 |
4 | 0ms | 272kb | OK | 5 |
5 | 0ms | 272kb | OK | 5 |
6 | 0ms | 272kb | OK | 5 | 10 |
7 | 0ms | 272kb | OK | 5 |
8 | 4ms | 280kb | OK | 5 | 15 |
9 | 0ms | 284kb | OK | 5 |
10 | 0ms | 276kb | OK | 5 |
11 | 52ms | 308kb | OK | 5 | 15 |
12 | 28ms | 312kb | OK | 5 |
13 | 28ms | 312kb | OK | 5 |
14 | 88ms | 332kb | OK | 5 | 15 |
15 | 168ms | 340kb | OK | 5 |
16 | 88ms | 336kb | OK | 5 |
17 | 56ms | 316kb | OK | 5 | 20 |
18 | 212ms | 340kb | OK | 5 |
19 | 108ms | 336kb | OK | 5 |
20 | 112ms | 336kb | OK | 5 |
Punctaj total | 100 |