Pagini recente » Borderou de evaluare (job #2269086) | Borderou de evaluare (job #917590) | Borderou de evaluare (job #1047967) | Borderou de evaluare (job #88144) | Borderou de evaluare (job #1925744)
Borderou de evaluare (job #1925744)
Raport evaluator
Compilare:
user.c: In function ‘main’:
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 | 324kb | Raspuns gresit | 0 |
Punctaj total | 0 |