Borderou de evaluare (job #2853571)
Utilizator | Data | 20 februarie 2022 13:50:06 | |
---|---|---|---|
Problema | Arc | 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:32:7: warning: init-statement in selection statements only available with '-std=c++17' or '-std=gnu++17'
32 | if (ok == 1 {
| ^~
main.cpp:32:14: error: expected ';' before '{' token
32 | if (ok == 1 {
| ^~
| ;
main.cpp:32:10: warning: statement has no effect [-Wunused-value]
32 | if (ok == 1 {
| ~~~^~~~
main.cpp:35:16: error: expected ')' before ';' token
35 | o << k << " ";
| ^
| )
main.cpp:32:6: note: to match this '('
32 | if (ok == 1 {
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !