Problem collectmushrooms6
User hihihi
Submission Time 2022-12-26 13:45:01
Score 0
Max Time N/A
Max Memory N/A

Compile Error

collectmushrooms6.cpp: In function ‘int T1_5()’:
collectmushrooms6.cpp:56:32: error: a function-definition is not allowed here before ‘{’ token
56 | void build(ll idx, ll l, ll r) {
| ^
collectmushrooms6.cpp:69:45: error: a function-definition is not allowed here before ‘{’ token
69 | void update(ll idx, ll l, ll r, ll x, ll u) {
| ^
collectmushrooms6.cpp:82:42: error: a function-definition is not allowed here before ‘{’ token
82 | ll query(ll idx, ll l, ll r, ll x, ll y) {
| ^
collectmushrooms6.cpp:92:12: error: a function-definition is not allowed here before ‘{’ token
92 | int main() {
| ^
collectmushrooms6.cpp:110:1: error: expected ‘}’ at end of input
110 | }
| ^
collectmushrooms6.cpp:47:41: note: to match this ‘{’
47 | if (k >= K && Map[i * C + j] == 'M