Pagini recente » Borderou de evaluare (job #1193036) | Borderou de evaluare (job #1665370) | Borderou de evaluare (job #1217205) | Borderou de evaluare (job #2053856) | Borderou de evaluare (job #1493629)
Borderou de evaluare (job #1493629)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:10: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:11: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:13: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:15: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 | 444kb | OK | 5 | 10 |
2 | 0ms | 456kb | OK | 5 |
3 | 0ms | 452kb | OK | 5 | 15 |
4 | 0ms | 452kb | OK | 5 |
5 | 0ms | 456kb | OK | 5 |
6 | 0ms | 460kb | OK | 5 | 10 |
7 | 0ms | 460kb | OK | 5 |
8 | 0ms | 460kb | OK | 5 | 15 |
9 | 0ms | 460kb | OK | 5 |
10 | 0ms | 464kb | OK | 5 |
11 | 32ms | 488kb | OK | 5 | 15 |
12 | 16ms | 488kb | OK | 5 |
13 | 16ms | 484kb | OK | 5 |
14 | 56ms | 512kb | OK | 5 | 15 |
15 | 108ms | 512kb | OK | 5 |
16 | 56ms | 520kb | OK | 5 |
17 | 36ms | 504kb | OK | 5 | 20 |
18 | 136ms | 516kb | OK | 5 |
19 | 72ms | 516kb | OK | 5 |
20 | 72ms | 516kb | OK | 5 |
Punctaj total | 100 |