Pagini recente » Borderou de evaluare (job #1907662) | Borderou de evaluare (job #2354393) | Borderou de evaluare (job #1981603) | Borderou de evaluare (job #1223849) | Borderou de evaluare (job #2479695)
Borderou de evaluare (job #2479695)
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:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &s);
^
main.cpp:17:36: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &w[i], &p[i]);
^
| 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 | 2ms | 131kb | OK | 5 |
| 6 | 6ms | 131kb | OK | 5 | 10 |
| 7 | 4ms | 131kb | OK | 5 |
| 8 | 7ms | 131kb | OK | 5 | 15 |
| 9 | 7ms | 192kb | OK | 5 |
| 10 | 8ms | 131kb | OK | 5 |
| 11 | 72ms | 233kb | OK | 5 | 15 |
| 12 | 63ms | 229kb | OK | 5 |
| 13 | 68ms | 229kb | OK | 5 |
| 14 | 196ms | 249kb | OK | 5 | 15 |
| 15 | 181ms | 253kb | OK | 5 |
| 16 | 119ms | 221kb | OK | 5 |
| 17 | 69ms | 233kb | OK | 5 | 20 |
| 18 | 253ms | 253kb | OK | 5 |
| 19 | 157ms | 200kb | OK | 5 |
| 20 | 187ms | 253kb | OK | 5 |
| Punctaj total | 100 |