Pagini recente » Borderou de evaluare (job #819668) | Borderou de evaluare (job #1541236) | Borderou de evaluare (job #1168599) | Borderou de evaluare (job #2963937) | Borderou de evaluare (job #1344263)
Borderou de evaluare (job #1344263)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:9: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);
^
user.cpp:10: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);
^
user.cpp:14:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &g);
^
user.cpp:21:41: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &weights[i], &profit[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 244kb | OK | 5 | 10 |
2 | 0ms | 248kb | OK | 5 |
3 | 0ms | 252kb | OK | 5 | 15 |
4 | 0ms | 248kb | OK | 5 |
5 | 0ms | 252kb | OK | 5 |
6 | 0ms | 252kb | OK | 5 | 10 |
7 | 0ms | 256kb | OK | 5 |
8 | 4ms | 252kb | OK | 5 | 15 |
9 | 4ms | 260kb | OK | 5 |
10 | 4ms | 256kb | OK | 5 |
11 | 40ms | 284kb | OK | 5 | 15 |
12 | 36ms | 280kb | OK | 5 |
13 | 36ms | 280kb | OK | 5 |
14 | 120ms | 316kb | OK | 5 | 15 |
15 | 132ms | 312kb | OK | 5 |
16 | 116ms | 312kb | OK | 5 |
17 | 68ms | 300kb | OK | 5 | 20 |
18 | 168ms | 316kb | OK | 5 |
19 | 144ms | 316kb | OK | 5 |
20 | 144ms | 324kb | OK | 5 |
Punctaj total | 100 |