Pagini recente » Borderou de evaluare (job #2985027) | Borderou de evaluare (job #1998642) | Borderou de evaluare (job #2263534) | Borderou de evaluare (job #2681265) | Borderou de evaluare (job #1963164)
Borderou de evaluare (job #1963164)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:23:34: 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:24: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:26:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d%d", &N, &W);
^
user.cpp:28:42: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &weight[i], &price[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 272kb | OK | 5 | 10 |
2 | 0ms | 288kb | OK | 5 |
3 | 0ms | 280kb | OK | 5 | 15 |
4 | 0ms | 284kb | OK | 5 |
5 | 0ms | 288kb | OK | 5 |
6 | 0ms | 284kb | OK | 5 | 10 |
7 | 0ms | 284kb | OK | 5 |
8 | 4ms | 292kb | OK | 5 | 15 |
9 | 0ms | 288kb | OK | 5 |
10 | 0ms | 292kb | OK | 5 |
11 | 44ms | 332kb | OK | 5 | 15 |
12 | 32ms | 332kb | OK | 5 |
13 | 36ms | 328kb | OK | 5 |
14 | 112ms | 380kb | OK | 5 | 15 |
15 | 144ms | 380kb | OK | 5 |
16 | 108ms | 384kb | OK | 5 |
17 | 68ms | 348kb | OK | 5 | 20 |
18 | 176ms | 380kb | OK | 5 |
19 | 136ms | 380kb | OK | 5 |
20 | 140ms | 384kb | OK | 5 |
Punctaj total | 100 |