Borderou de evaluare (job #2481828)
Raport evaluator
Compilare:
main.cpp: In function 'void citire()':
main.cpp:12:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&g_max);
^
main.cpp:14:36: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&g[i],&val[i]);
^
main.cpp: In function 'int main()':
main.cpp:45: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);
^
main.cpp:46: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);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 3ms | 131kb | OK | 5 | 10 |
| 2 | 3ms | 131kb | OK | 5 |
| 3 | 2ms | 131kb | OK | 5 | 15 |
| 4 | 3ms | 131kb | OK | 5 |
| 5 | 3ms | 131kb | OK | 5 |
| 6 | 5ms | 131kb | OK | 5 | 10 |
| 7 | 4ms | 131kb | OK | 5 |
| 8 | 8ms | 131kb | OK | 5 | 15 |
| 9 | 6ms | 131kb | OK | 5 |
| 10 | 5ms | 131kb | OK | 5 |
| 11 | 45ms | 221kb | OK | 5 | 15 |
| 12 | 37ms | 217kb | OK | 5 |
| 13 | 37ms | 221kb | OK | 5 |
| 14 | 67ms | 131kb | OK | 5 | 15 |
| 15 | 113ms | 258kb | OK | 5 |
| 16 | 67ms | 131kb | OK | 5 |
| 17 | 34ms | 131kb | OK | 5 | 20 |
| 18 | 160ms | 249kb | OK | 5 |
| 19 | 80ms | 262kb | OK | 5 |
| 20 | 78ms | 249kb | OK | 5 |
| Punctaj total | 100 |