Borderou de evaluare (job #2387783)
Utilizator | Data | 25 martie 2019 11:16:20 | |
---|---|---|---|
Problema | Transport | Status | done |
Runda | Arhiva de probleme | Compilator | c-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.c:4:1: error: unknown type name 'bool'
bool se_poate(int c){
^~~~
main.c: In function 'se_poate':
main.c:7:17: error: 'n' undeclared (first use in this function)
for(int i=0;i<n;i++){
^
main.c:7:17: note: each undeclared identifier is reported only once for each function it appears in
main.c:8:8: error: 'v' undeclared (first use in this function)
if(v[i]>c){
^
main.c:9:14: error: 'false' undeclared (first use in this function)
return false;
^~~~~
main.c:18:16: error: 'k' undeclared (first use in this function)
return (nrt<=k);
^
main.c:19:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !