Pagini recente » Borderou de evaluare (job #1874099) | Borderou de evaluare (job #2105699) | Borderou de evaluare (job #1703187) | Borderou de evaluare (job #2431902) | Borderou de evaluare (job #1925741)
Borderou de evaluare (job #1925741)
Raport evaluator
Compilare:
user.c: In function ‘main’:
user.c:35:16: warning: unused variable ‘j’ [-Wunused-variable]
int i, j;
^
user.c:24:12: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
freopen("bani.in", "r", stdin);
^
user.c:25:12: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
freopen("bani.out", "w", stdout);
^
user.c:28:10: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%i", &t);
^
user.c:31:14: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%i%i", &n, &g);
^
user.c:37:18: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%i%i%i", &items[i].val, &items[i].weight, &items[i].split);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 288kb | Raspuns gresit | 0 |
Punctaj total | 0 |