Pagini recente » Borderou de evaluare (job #2673739) | Borderou de evaluare (job #591759) | Borderou de evaluare (job #2274729) | Borderou de evaluare (job #1223538) | Borderou de evaluare (job #1610119)
Borderou de evaluare (job #1610119)
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: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:18:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &w[i], &p[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 304kb | OK | 5 | 10 |
2 | 0ms | 308kb | OK | 5 |
3 | 0ms | 304kb | OK | 5 | 15 |
4 | 0ms | 300kb | OK | 5 |
5 | 0ms | 308kb | OK | 5 |
6 | 0ms | 308kb | OK | 5 | 10 |
7 | 0ms | 304kb | OK | 5 |
8 | 0ms | 312kb | OK | 5 | 15 |
9 | 0ms | 316kb | OK | 5 |
10 | 0ms | 308kb | OK | 5 |
11 | 16ms | 320kb | OK | 5 | 15 |
12 | 8ms | 324kb | OK | 5 |
13 | 12ms | 324kb | OK | 5 |
14 | 32ms | 336kb | OK | 5 | 15 |
15 | 56ms | 336kb | OK | 5 |
16 | 32ms | 336kb | OK | 5 |
17 | 20ms | 340kb | OK | 5 | 20 |
18 | 72ms | 336kb | OK | 5 |
19 | 40ms | 336kb | OK | 5 |
20 | 40ms | 336kb | OK | 5 |
Punctaj total | 100 |