Pagini recente » Borderou de evaluare (job #1475489) | Borderou de evaluare (job #1852671) | Borderou de evaluare (job #938438) | Borderou de evaluare (job #1488415) | Borderou de evaluare (job #1992455)
Borderou de evaluare (job #1992455)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:11:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ruksak.in","r",stdin);
^
user.cpp:12:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ruksak.out","w",stdout);
^
user.cpp:13:24: 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:34: 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 | 444ms | 4480kb | OK | 10 | 0 |
| 2 | 440ms | 4512kb | OK | 10 |
| 3 | 356ms | 4480kb | OK | 10 |
| 4 | 444ms | 4524kb | OK | 10 |
| 5 | 148ms | 4488kb | OK | 10 |
| 6 | 428ms | 4480kb | OK | 10 |
| 7 | 440ms | 4476kb | OK | 10 |
| 8 | 444ms | 4480kb | OK | 10 |
| 9 | 448ms | 4480kb | OK | 10 |
| 10 | 108ms | 2844kb | Incorect | 0 |
| Punctaj total | 0 |