Pagini recente » Borderou de evaluare (job #74569) | Borderou de evaluare (job #103291) | Borderou de evaluare (job #2796388) | Borderou de evaluare (job #2338108) | Borderou de evaluare (job #2377717)
Borderou de evaluare (job #2377717)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:21: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);
^
main.cpp:22:36: 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);
^
main.cpp:24:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &N, &G);
^
main.cpp:26:44: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &v[i].weight, &v[i].price);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 2ms | 131kb | OK | 5 | 10 |
2 | 2ms | 131kb | OK | 5 |
3 | 2ms | 131kb | OK | 5 | 15 |
4 | 2ms | 131kb | OK | 5 |
5 | 3ms | 131kb | OK | 5 |
6 | 4ms | 131kb | OK | 5 | 10 |
7 | 4ms | 131kb | OK | 5 |
8 | 6ms | 131kb | OK | 5 | 15 |
9 | 5ms | 131kb | OK | 5 |
10 | 4ms | 131kb | OK | 5 |
11 | 35ms | 131kb | OK | 5 | 15 |
12 | 24ms | 131kb | OK | 5 |
13 | 21ms | 131kb | OK | 5 |
14 | 60ms | 262kb | OK | 5 | 15 |
15 | 92ms | 262kb | OK | 5 |
16 | 61ms | 262kb | OK | 5 |
17 | 35ms | 131kb | OK | 5 | 20 |
18 | 115ms | 262kb | OK | 5 |
19 | 73ms | 262kb | OK | 5 |
20 | 77ms | 262kb | OK | 5 |
Punctaj total | 100 |