Borderou de evaluare (job #3231437)
Utilizator | Data | 26 mai 2024 14:04:40 | |
---|---|---|---|
Problema | Hotel | Status | done |
Runda | Arhiva de probleme | Compilator | c-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.c: In function 'main':
main.c:25:26: error: 'j' undeclared (first use in this function)
25 | memset(hotel+j,1,m*sizeof(int));
| ^
main.c:25:26: note: each undeclared identifier is reported only once for each function it appears in
main.c:17:9: warning: unused variable 'cons_max' [-Wunused-variable]
17 | int cons_max=n;//nr max de camere consecutive libere
| ^~~~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !