Problem segmenttree
User weccs
Submission Time 2025-09-20 16:33:33
Score 0
Max Time N/A
Max Memory N/A

Compile Error

segmenttree.cpp: In function ‘int main()’:
segmenttree.cpp:55:3: error: expected ‘}’ before ‘else’
55 | else if (a == 2) {
| ^~~~
segmenttree.cpp:53:15: note: to match this ‘{’
53 | if (a == 1) {
| ^
segmenttree.cpp:58:2: error: expected ‘}’ at end of input
58 | }
| ^
segmenttree.cpp:48:15: note: to match this ‘{’
48 | signed main() {
| ^