Borderou de evaluare (job #3134724)
Utilizator | Data | 30 mai 2023 15:29:07 | |
---|---|---|---|
Problema | Hotel | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void update_lazy(int, int, int)':
main.cpp:43:5: error: expected primary-expression before '}' token
43 | }
| ^
main.cpp: In function 'void update(int, int, int, int, int, int)':
main.cpp:76:5: error: 'adauga' was not declared in this scope
76 | adauga(nod*2, st, mij, a, b, val);
| ^~~~~~
main.cpp: In function 'int main()':
main.cpp:105:26: error: expected ';' before 'if'
105 | fin >> a >> b
| ^
| ;
106 | if(tip == 2)
| ~~
main.cpp:110:13: error: 'else' without a previous 'if'
110 | else
| ^~~~
main.cpp:95:23: warning: unused variable 'val' [-Wunused-variable]
95 | int i, tip, a, b, val;
| ^~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !