Problem mulgogi
User siewjh
Submission Time 2023-12-11 11:55:20
Score 0
Max Time N/A
Max Memory N/A

Compile Error

mulgogi.cpp:4:7: error: ‘ll’ does not name a type
4 | const ll inf = (ll)1e18 + 5;
| ^~
mulgogi.cpp:5:8: error: ‘ll’ was not declared in this scope
5 | vector<ll> ranges;
| ^~
mulgogi.cpp:5:10: error: template argument 1 is invalid
5 | vector<ll> ranges;
| ^
mulgogi.cpp:5:10: error: template argument 2 is invalid
mulgogi.cpp:7:15: error: ‘ll’ does not name a type
7 | int s, e, m; ll rs, re, sum;
| ^~
mulgogi.cpp:70:2: error: ‘ll’ does not name a type
70 | ll query(){
| ^~
mulgogi.cpp: In constructor ‘node::node(long long int, long long int)’:
mulgogi.cpp:11:37: error: ‘rs’ was not declared in this scope; did you mean ‘s’?
11 | s = _s, e = _e, m = (s + e) >> 1, rs = ranges[s], re = ranges[e + 1] - 1, sum = 0;
| ^~
| s
mulgogi.cpp:11: