Pagini recente » Borderou de evaluare (job #947266) | Borderou de evaluare (job #2958123) | Borderou de evaluare (job #318502) | Borderou de evaluare (job #1977666) | Borderou de evaluare (job #1654919)
Borderou de evaluare (job #1654919)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:7:35: 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:37: 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:9: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:11:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&v[i].g,&v[i].p);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 260kb | Incorect | 0 | 0 |
| 2 | 0ms | 268kb | OK | 5 |
| 3 | 0ms | 264kb | OK | 5 | 15 |
| 4 | 0ms | 268kb | OK | 5 |
| 5 | 0ms | 260kb | OK | 5 |
| 6 | 0ms | 264kb | OK | 5 | 10 |
| 7 | 0ms | 268kb | OK | 5 |
| 8 | 4ms | 268kb | OK | 5 | 15 |
| 9 | 4ms | 276kb | OK | 5 |
| 10 | 4ms | 276kb | OK | 5 |
| 11 | 48ms | 296kb | OK | 5 | 15 |
| 12 | 40ms | 296kb | OK | 5 |
| 13 | 36ms | 300kb | OK | 5 |
| 14 | 120ms | 324kb | OK | 5 | 15 |
| 15 | 148ms | 324kb | OK | 5 |
| 16 | 120ms | 328kb | OK | 5 |
| 17 | 72ms | 312kb | OK | 5 | 20 |
| 18 | 180ms | 336kb | OK | 5 |
| 19 | 152ms | 328kb | OK | 5 |
| 20 | 144ms | 336kb | OK | 5 |
| Punctaj total | 90 |