Pagini recente » Borderou de evaluare (job #1961235) | Borderou de evaluare (job #2285344) | Borderou de evaluare (job #317530) | Borderou de evaluare (job #2720239) | Borderou de evaluare (job #2370973)
Borderou de evaluare (job #2370973)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:11: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:12: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:14:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &s);
^
main.cpp:16:36: 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 | 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 | 4ms | 131kb | OK | 5 |
8 | 7ms | 131kb | OK | 5 | 15 |
9 | 6ms | 131kb | OK | 5 |
10 | 6ms | 131kb | OK | 5 |
11 | 58ms | 131kb | OK | 5 | 15 |
12 | 41ms | 131kb | OK | 5 |
13 | 40ms | 131kb | OK | 5 |
14 | 120ms | 131kb | OK | 5 | 15 |
15 | 178ms | 131kb | OK | 5 |
16 | 116ms | 131kb | OK | 5 |
17 | 79ms | 131kb | OK | 5 | 20 |
18 | 208ms | 131kb | OK | 5 |
19 | 148ms | 131kb | OK | 5 |
20 | 139ms | 262kb | OK | 5 |
Punctaj total | 100 |