Borderou de evaluare (job #2509905)
Utilizator | Data | 15 decembrie 2019 10:08:15 | |
---|---|---|---|
Problema | Lungimi de interval | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:22:8: error: 'ma' was not declared in this scope
ma[1][i]=ma[6][i]=ma[i][6]=ma[i][1]='*';
^~
main.cpp:27:12: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if(i+j==7)
^~
main.cpp:29:13: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
if(i!=1 && j!=1 && i>j && i!=6 && j!=6)
^~
main.cpp:38:15: error: 'ma' was not declared in this scope
cout<<ma[i][j]<<' ';
^~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !