Problem potatoqueue
User PrunJuice
Submission Time 2025-07-23 13:14:30
Score 0
Max Time N/A
Max Memory N/A

Compile Error

potatoqueue.cpp:2:1: error: ‘include’ does not name a type
2 | include <bits/stdc++.h>
| ^~~~~~~
potatoqueue.cpp:10:5: error: ‘vector’ does not name a type
10 | vector<int> st;
| ^~~~~~
potatoqueue.cpp: In constructor ‘SegTree::SegTree(int)’:
potatoqueue.cpp:12:9: error: ‘st’ was not declared in this scope; did you mean ‘std’?
12 | st.assign(4*n, 0);
| ^~
| std
potatoqueue.cpp: In member function ‘void SegTree::update(int, int, int, int, int)’:
potatoqueue.cpp:17:13: error: ‘st’ was not declared in this scope; did you mean ‘std’?
17 | st[p] = val;
| ^~
| std
potatoqueue.cpp:23:9: error: ‘st’ was not declared in this scope; did you mean ‘std’?
23 | st[p] = max(st[p<<1], st[p<<1|1]);
| ^~
| std
potatoqueue.cpp:23:17: error: ‘max’ was not declared in th