Borderou de evaluare (job #2610595)
Utilizator | robert barbu robert.barbu27 | Data | 5 mai 2020 09:28:53 |
---|---|---|---|
Problema | Subsir1000 | 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:25:26: error: expected ')' before ';' token
for(int i=3;i<=n;i+=2;i++)
^
main.cpp:25:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(int i=3;i<=n;i+=2;i++)
^~~
main.cpp:25:27: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
for(int i=3;i<=n;i+=2;i++)
^
main.cpp:25:27: error: 'i' was not declared in this scope
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !