Borderou de evaluare (job #2877063)
Utilizator | Data | 24 martie 2022 09:08:02 | |
---|---|---|---|
Problema | Pariuri | Status | done |
Runda | Teme Pregatire ACM Unibuc 2014, Anul I | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:20:20: warning: init-statement in selection statements only available with '-std=c++17' or '-std=gnu++17'
20 | if(v.find(timp)
| ^
main.cpp:20:32: error: expected ';' before 'v'
20 | if(v.find(timp)
| ^
| ;
21 | v[timp]+=bani;
| ~
main.cpp:22:17: error: expected primary-expression before 'else'
22 | else v[timp]=bani, k++;
| ^~~~
main.cpp:21:35: error: expected ')' before 'else'
21 | v[timp]+=bani;
| ^
| )
22 | else v[timp]=bani, k++;
| ~~~~
main.cpp:20:19: note: to match this '('
20 | if(v.find(timp)
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !