Borderou de evaluare (job #2865941)
Utilizator | Data | 9 martie 2022 11:39:17 | |
---|---|---|---|
Problema | Muzeu | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:17:1: error: 'ool' does not name a type; did you mean 'bool'?
17 | ool inmat(int i,int j)
| ^~~
| bool
main.cpp: In function 'void lee()':
main.cpp:34:16: error: 'inmat' was not declared in this scope
34 | if(inmat(iv,jv) && b[iv][jv]==-1)
| ^~~~~
main.cpp:34:32: error: 'b' was not declared in this scope
34 | if(inmat(iv,jv) && b[iv][jv]==-1)
| ^
main.cpp: In function 'int main()':
main.cpp:51:14: error: 'i' was not declared in this scope
51 | if(s[i][j])=='p')
| ^
main.cpp:51:20: error: expected primary-expression before '==' token
51 | if(s[i][j])=='p')
| ^~
main.cpp:65:9: error: 'i' was not declared in this scope
65 | for(i=1;i<=n;i++)
| ^
main.cpp:67:13: error: 'j' was not declared in this scope
67 | for(j=1;j<=n;j++)
| ^
main.cpp:68:19: error: 'b' was not declared in this scope
68 | fout<<b[i][j]<<" ";
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !