Pagini recente » Borderou de evaluare (job #2691963) | Borderou de evaluare (job #321174) | Borderou de evaluare (job #815565) | Borderou de evaluare (job #2277487) | Borderou de evaluare (job #1295589)
Borderou de evaluare (job #1295589)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:20:15: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if(G[i]<=j)
^
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("rucsac.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("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:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&G[i],&C[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 264kb | OK | 5 | 10 |
| 2 | 0ms | 260kb | OK | 5 |
| 3 | 0ms | 272kb | OK | 5 | 15 |
| 4 | 0ms | 264kb | OK | 5 |
| 5 | 0ms | 264kb | OK | 5 |
| 6 | 0ms | 276kb | OK | 5 | 10 |
| 7 | 0ms | 272kb | OK | 5 |
| 8 | 0ms | 280kb | OK | 5 | 15 |
| 9 | 0ms | 280kb | OK | 5 |
| 10 | 0ms | 272kb | OK | 5 |
| 11 | 36ms | 324kb | OK | 5 | 15 |
| 12 | 28ms | 324kb | OK | 5 |
| 13 | 32ms | 320kb | OK | 5 |
| 14 | 96ms | 368kb | OK | 5 | 15 |
| 15 | 116ms | 368kb | OK | 5 |
| 16 | 96ms | 364kb | OK | 5 |
| 17 | 60ms | 328kb | OK | 5 | 20 |
| 18 | 144ms | 372kb | OK | 5 |
| 19 | 116ms | 372kb | OK | 5 |
| 20 | 120ms | 368kb | OK | 5 |
| Punctaj total | 100 |