Pagini recente » Borderou de evaluare (job #1776958) | Borderou de evaluare (job #3174343) | Borderou de evaluare (job #62136) | Borderou de evaluare (job #924626) | Borderou de evaluare (job #1413665)
Borderou de evaluare (job #1413665)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:10:38: 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:40: 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:12: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:13:54: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (i=1; i<=n; i++) scanf ("%d%d", &w[i], &p[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 264kb | OK | 5 | 10 |
2 | 0ms | 264kb | OK | 5 |
3 | 0ms | 264kb | OK | 5 | 15 |
4 | 0ms | 268kb | OK | 5 |
5 | 0ms | 268kb | OK | 5 |
6 | 0ms | 268kb | OK | 5 | 10 |
7 | 0ms | 268kb | OK | 5 |
8 | 4ms | 280kb | OK | 5 | 15 |
9 | 4ms | 280kb | OK | 5 |
10 | 4ms | 280kb | OK | 5 |
11 | 52ms | 316kb | OK | 5 | 15 |
12 | 44ms | 320kb | OK | 5 |
13 | 40ms | 312kb | OK | 5 |
14 | 136ms | 364kb | OK | 5 | 15 |
15 | 168ms | 368kb | OK | 5 |
16 | 136ms | 368kb | OK | 5 |
17 | 84ms | 332kb | OK | 5 | 20 |
18 | 212ms | 372kb | OK | 5 |
19 | 168ms | 372kb | OK | 5 |
20 | 172ms | 368kb | OK | 5 |
Punctaj total | 100 |