Pagini recente » Borderou de evaluare (job #436522) | Borderou de evaluare (job #3312335) | Borderou de evaluare (job #963117) | Borderou de evaluare (job #518830) | Borderou de evaluare (job #1831774)
Borderou de evaluare (job #1831774)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:15:12: warning: unused variable ‘M’ [-Wunused-variable]
int N, M, G, i, j, g, v, ma;
^
user.cpp:12: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:13: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:18:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf( "%d%d",&N,&G );
^
user.cpp:20:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf( "%d%d",&g,&v );
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 444kb | OK | 5 | 10 |
| 2 | 0ms | 452kb | OK | 5 |
| 3 | 0ms | 452kb | OK | 5 | 15 |
| 4 | 0ms | 452kb | OK | 5 |
| 5 | 0ms | 452kb | OK | 5 |
| 6 | 0ms | 452kb | OK | 5 | 10 |
| 7 | 0ms | 452kb | OK | 5 |
| 8 | 0ms | 448kb | OK | 5 | 15 |
| 9 | 0ms | 448kb | OK | 5 |
| 10 | 0ms | 452kb | OK | 5 |
| 11 | 36ms | 468kb | OK | 5 | 15 |
| 12 | 20ms | 472kb | OK | 5 |
| 13 | 20ms | 468kb | OK | 5 |
| 14 | 64ms | 484kb | OK | 5 | 15 |
| 15 | 120ms | 488kb | OK | 5 |
| 16 | 68ms | 480kb | OK | 5 |
| 17 | 40ms | 468kb | OK | 5 | 20 |
| 18 | 148ms | 484kb | OK | 5 |
| 19 | 80ms | 484kb | OK | 5 |
| 20 | 84ms | 488kb | OK | 5 |
| Punctaj total | 100 |