Pagini recente » Borderou de evaluare (job #1218884) | Borderou de evaluare (job #2138664) | Borderou de evaluare (job #2094618) | Borderou de evaluare (job #2400884) | Borderou de evaluare (job #2493175)
Borderou de evaluare (job #2493175)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.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);
^
main.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);
^
main.cpp:13:30: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n, &gmax);
^
main.cpp:17:41: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &greutate, &pret);
^
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 | 2ms | 131kb | OK | 5 |
6 | 4ms | 131kb | OK | 5 | 10 |
7 | 3ms | 131kb | OK | 5 |
8 | 6ms | 131kb | OK | 5 | 15 |
9 | 4ms | 131kb | OK | 5 |
10 | 4ms | 131kb | OK | 5 |
11 | 45ms | 131kb | OK | 5 | 15 |
12 | 25ms | 131kb | OK | 5 |
13 | 25ms | 131kb | OK | 5 |
14 | 74ms | 131kb | OK | 5 | 15 |
15 | 130ms | 131kb | OK | 5 |
16 | 74ms | 131kb | OK | 5 |
17 | 48ms | 131kb | OK | 5 | 20 |
18 | 172ms | 131kb | OK | 5 |
19 | 85ms | 131kb | OK | 5 |
20 | 94ms | 131kb | OK | 5 |
Punctaj total | 100 |