Pagini recente » Borderou de evaluare (job #1948509) | Street Crypto | Cod sursa (job #3137650) | Cod sursa (job #2397224) | Borderou de evaluare (job #2502932)
Borderou de evaluare (job #2502932)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:14: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:15: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);
^
main.cpp:17:25: 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:37: 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 | 2ms | 131kb | OK | 5 | 10 |
| 2 | 3ms | 131kb | OK | 5 |
| 3 | 2ms | 131kb | OK | 5 | 15 |
| 4 | 2ms | 131kb | OK | 5 |
| 5 | 3ms | 131kb | OK | 5 |
| 6 | 6ms | 131kb | OK | 5 | 10 |
| 7 | 5ms | 131kb | OK | 5 |
| 8 | 10ms | 131kb | OK | 5 | 15 |
| 9 | 7ms | 131kb | OK | 5 |
| 10 | 6ms | 131kb | OK | 5 |
| 11 | 93ms | 131kb | OK | 5 | 15 |
| 12 | 39ms | 131kb | OK | 5 |
| 13 | 49ms | 131kb | OK | 5 |
| 14 | 110ms | 262kb | Incorect | 0 | 0 |
| 15 | 111ms | 131kb | Incorect | 0 |
| 16 | 122ms | 131kb | Incorect | 0 |
| 17 | 79ms | 131kb | OK | 5 | 0 |
| 18 | 222ms | 131kb | Incorect | 0 |
| 19 | 145ms | 131kb | Incorect | 0 |
| 20 | 122ms | 131kb | Incorect | 0 |
| Punctaj total | 65 |