Pagini recente » Cod sursa (job #270440) | Cod sursa (job #3244522) | Cod sursa (job #518947) | Cod sursa (job #3244528) | Borderou de evaluare (job #2493202)
Borderou de evaluare (job #2493202)
Raport evaluator
Compilare:
main.cpp: In function 'void read()':
main.cpp:16:32: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&maxWeigth);
^
main.cpp:18:43: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&weigth[i],&price[i]);
^
main.cpp: In function 'int main()':
main.cpp:44: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:45: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 | 2ms | 131kb | OK | 5 | 10 |
| 2 | 2ms | 131kb | OK | 5 |
| 3 | 2ms | 131kb | OK | 5 | 15 |
| 4 | 2ms | 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 | 6ms | 131kb | OK | 5 |
| 11 | 71ms | 131kb | OK | 5 | 15 |
| 12 | 38ms | 131kb | OK | 5 |
| 13 | 48ms | 131kb | OK | 5 |
| 14 | 148ms | 262kb | OK | 5 | 15 |
| 15 | 214ms | 262kb | OK | 5 |
| 16 | 151ms | 131kb | OK | 5 |
| 17 | 102ms | 131kb | OK | 5 | 20 |
| 18 | 218ms | 262kb | OK | 5 |
| 19 | 163ms | 262kb | OK | 5 |
| 20 | 162ms | 262kb | OK | 5 |
| Punctaj total | 100 |