Borderou de evaluare (job #1697961)
Utilizator | Data | 3 mai 2016 13:04:40 | |
---|---|---|---|
Problema | Secventa | Status | done |
Runda | Arhiva de probleme | Compilator | c | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.c:5:5: error: variably modified ‘a’ at file scope
int a[maxN], dq[maxN];
^
user.c:5:14: error: variably modified ‘dq’ at file scope
int a[maxN], dq[maxN];
^
user.c: In function ‘Solve’:
user.c:9:7: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n, &k);
^
user.c:16:8: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &a[i]);
^
user.c: In function ‘main’:
user.c:30:9: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
freopen("secventa.in", "r", stdin);
^
user.c:31:9: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
freopen("secventa.out", "w", stdout);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !