Borderou de evaluare (job #2419147)
Utilizator | Data | 7 mai 2019 18:30:19 | |
---|---|---|---|
Problema | Cel mai lung subsir comun | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void doo()':
main.cpp:27:13: error: expected primary-expression before ';' token
for(int j=;j<=m;++j)
^
main.cpp:27:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(int j=;j<=m;++j)
^~~
main.cpp:32:4: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
return mat[n][m];
^~~~~~
main.cpp:32:19: error: return-statement with a value, in function returning 'void' [-fpermissive]
return mat[n][m];
^
main.cpp: In function 'int main()':
main.cpp:60:7: error: void value not ignored as it ought to be
t=doo();
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !