Borderou de evaluare (job #2436222)
Utilizator | Data | 4 iulie 2019 23:50:22 | |
---|---|---|---|
Problema | Alibaba | Status | done |
Runda | Arhiva de probleme | Compilator | c-32 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.c:5:1: error: unknown type name 'bool'
bool fol[10005];
^~~~
main.c: In function 'create_solution':
main.c:17:5: error: 'used' undeclared (first use in this function)
used[pos] = 1;
^~~~
main.c:17:5: note: each undeclared identifier is reported only once for each function it appears in
main.c:11:9: warning: unused variable 'i' [-Wunused-variable]
int i;
^
main.c: In function 'main':
main.c:40:13: error: 'used' undeclared (first use in this function)
if (used[i])
^~~~
main.c:34:5: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d %d\n%s", &n, &k, s+1);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !