Pagini recente » Borderou de evaluare (job #1159658) | Borderou de evaluare (job #2949512) | Borderou de evaluare (job #3287792) | Borderou de evaluare (job #2226890) | Borderou de evaluare (job #1992461)
Borderou de evaluare (job #1992461)
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 | 440ms | 4480kb | OK | 10 | 100 |
| 2 | 444ms | 4520kb | OK | 10 |
| 3 | 360ms | 4480kb | OK | 10 |
| 4 | 444ms | 4528kb | OK | 10 |
| 5 | 148ms | 4496kb | OK | 10 |
| 6 | 424ms | 4480kb | OK | 10 |
| 7 | 436ms | 4476kb | OK | 10 |
| 8 | 440ms | 4480kb | OK | 10 |
| 9 | 440ms | 4480kb | OK | 10 |
| 10 | 108ms | 2832kb | OK | 10 |
| Punctaj total | 100 |