Pagini recente » Borderou de evaluare (job #573898) | Borderou de evaluare (job #1011132) | Borderou de evaluare (job #3042057) | Borderou de evaluare (job #507518) | Borderou de evaluare (job #2761151)
Borderou de evaluare (job #2761151)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:17:35: 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:18:37: 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:19:27: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n, &g);
^
main.cpp:21:41: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &v[i].w, &v[i].p);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 2ms | 131kb | OK | 5 | 10 |
2 | 2ms | 131kb | OK | 5 |
3 | 3ms | 131kb | OK | 5 | 15 |
4 | 3ms | 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 | 5ms | 131kb | OK | 5 |
11 | 48ms | 131kb | OK | 5 | 15 |
12 | 27ms | 131kb | OK | 5 |
13 | 26ms | 131kb | OK | 5 |
14 | 78ms | 262kb | OK | 5 | 15 |
15 | 134ms | 262kb | OK | 5 |
16 | 78ms | 262kb | OK | 5 |
17 | 50ms | 262kb | OK | 5 | 20 |
18 | 168ms | 262kb | OK | 5 |
19 | 95ms | 262kb | OK | 5 |
20 | 80ms | 262kb | OK | 5 |
Punctaj total | 100 |