Pagini recente » Borderou de evaluare (job #1506346) | Borderou de evaluare (job #1649897) | Borderou de evaluare (job #2790840) | Borderou de evaluare (job #1785208) | Borderou de evaluare (job #1452419)
Borderou de evaluare (job #1452419)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:7:32: 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:8:34: 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:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d ", &N, &G);
^
user.cpp:16:44: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d ", &greutate[i], &profit[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 276kb | OK | 5 | 10 |
| 2 | 0ms | 288kb | OK | 5 |
| 3 | 4ms | 288kb | OK | 5 | 15 |
| 4 | 0ms | 284kb | OK | 5 |
| 5 | 0ms | 284kb | OK | 5 |
| 6 | 0ms | 284kb | OK | 5 | 10 |
| 7 | 4ms | 288kb | OK | 5 |
| 8 | 4ms | 292kb | OK | 5 | 15 |
| 9 | 0ms | 292kb | OK | 5 |
| 10 | 0ms | 288kb | OK | 5 |
| 11 | 84ms | 336kb | OK | 5 | 15 |
| 12 | 76ms | 336kb | OK | 5 |
| 13 | 72ms | 324kb | OK | 5 |
| 14 | 308ms | 380kb | OK | 5 | 15 |
| 15 | 336ms | 376kb | OK | 5 |
| 16 | 308ms | 376kb | OK | 5 |
| 17 | 64ms | 356kb | OK | 5 | 20 |
| 18 | 336ms | 384kb | OK | 5 |
| 19 | 300ms | 388kb | OK | 5 |
| 20 | 300ms | 388kb | OK | 5 |
| Punctaj total | 100 |