Pagini recente » Profil gasengineer244 | Borderou de evaluare (job #2715297) | Cod sursa (job #722769) | Cod sursa (job #3030501) | Borderou de evaluare (job #2488721)
Borderou de evaluare (job #2488721)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.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.in", "r", stdin);
^
main.cpp:13:39: 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);
^
main.cpp:15:27: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n, &g);
^
main.cpp:19:31: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &w, &p);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 3ms | 131kb | OK | 5 | 10 |
| 2 | 2ms | 131kb | OK | 5 |
| 3 | 2ms | 131kb | OK | 5 | 15 |
| 4 | 2ms | 131kb | OK | 5 |
| 5 | 2ms | 131kb | OK | 5 |
| 6 | 4ms | 131kb | OK | 5 | 10 |
| 7 | 4ms | 131kb | OK | 5 |
| 8 | 7ms | 131kb | OK | 5 | 15 |
| 9 | 8ms | 131kb | OK | 5 |
| 10 | 5ms | 131kb | OK | 5 |
| 11 | 65ms | 131kb | OK | 5 | 15 |
| 12 | 35ms | 131kb | OK | 5 |
| 13 | 28ms | 131kb | OK | 5 |
| 14 | 108ms | 131kb | OK | 5 | 15 |
| 15 | 190ms | 131kb | OK | 5 |
| 16 | 87ms | 131kb | OK | 5 |
| 17 | 69ms | 131kb | OK | 5 | 20 |
| 18 | 224ms | 131kb | OK | 5 |
| 19 | 124ms | 131kb | OK | 5 |
| 20 | 168ms | 212kb | OK | 5 |
| Punctaj total | 100 |