Borderou de evaluare (job #1651068)
Utilizator | Data | 12 martie 2016 01:03:13 | |
---|---|---|---|
Problema | Qxy | Status | done |
Runda | Arhiva de probleme | Compilator | c | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.c:6:5: error: variably modified ‘v’ at file scope
int v[max_n];
^
user.c: In function ‘redirect_io’:
user.c:10:9: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
freopen("qxy.in", "r", stdin);
^
user.c: In function ‘read’:
user.c:16:7: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.c:18:8: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &v[i]);
^
user.c: In function ‘solve’:
user.c:25:7: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &q);
^
user.c:29:8: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d", &i, &j, &x, &y);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !