Pagini recente » Borderou de evaluare (job #2022025) | Cod sursa (job #1850393) | Borderou de evaluare (job #1726891) | Borderou de evaluare (job #2939887) | Borderou de evaluare (job #1240496)
Borderou de evaluare (job #1240496)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:19:9: warning: unused variable ‘profit’ [-Wunused-variable]
int profit=0 ;
^
user.cpp:16:41: 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:17:43: 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:20:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d%d" , &n , &g ) ;
^
user.cpp:22:45: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d%d" , &v[i].w , &v[i].p ) ;
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 436kb | OK | 5 | 10 |
| 2 | 0ms | 448kb | OK | 5 |
| 3 | 0ms | 444kb | OK | 5 | 15 |
| 4 | 0ms | 448kb | OK | 5 |
| 5 | 0ms | 452kb | OK | 5 |
| 6 | 0ms | 448kb | OK | 5 | 10 |
| 7 | 0ms | 448kb | OK | 5 |
| 8 | 4ms | 456kb | OK | 5 | 15 |
| 9 | 0ms | 452kb | OK | 5 |
| 10 | 4ms | 452kb | OK | 5 |
| 11 | 44ms | 472kb | OK | 5 | 15 |
| 12 | 32ms | 476kb | OK | 5 |
| 13 | 36ms | 472kb | OK | 5 |
| 14 | 112ms | 492kb | Incorect | 0 | 0 |
| 15 | 128ms | 488kb | Incorect | 0 |
| 16 | 112ms | 492kb | Incorect | 0 |
| 17 | 68ms | 496kb | OK | 5 | 0 |
| 18 | 164ms | 492kb | Incorect | 0 |
| 19 | 140ms | 492kb | Incorect | 0 |
| 20 | 132ms | 488kb | Incorect | 0 |
| Punctaj total | 65 |