Borderou de evaluare (job #2324606)
Utilizator | Data | 21 ianuarie 2019 08:51:34 | |
---|---|---|---|
Problema | Rover | 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:14:15: error: 'ok' was not declared in this scope
maxim=ok=1;
^~
main.cpp:19:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if(x>maxim && maxim%2 == 0)
^~
main.cpp:21:13: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
for(i=1;i<=maxim;i++)
^~~
main.cpp:25:11: error: expected primary-expression before ';' token
cout<<;
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !