Problem buyingcandy
User bribritt
Submission Time 2024-01-22 09:24:44
Score 0
Max Time N/A
Max Memory N/A

Compile Error

buyingcandy.cpp: In function ‘int main()’:
buyingcandy.cpp:6:2: error: ‘multi’ was not declared in this scope
6 | multi<int> s;
| ^~~~~
buyingcandy.cpp:3:13: error: expected primary-expression before ‘long’
3 | #define int long long
| ^~~~
buyingcandy.cpp:6:8: note: in expansion of macro ‘int’
6 | multi<int> s;
| ^~~
buyingcandy.cpp:11:3: error: ‘s’ was not declared in this scope
11 | s.insert(x);
| ^
buyingcandy.cpp:16:13: error: ‘s’ was not declared in this scope
16 | auto it = s.lower_bound(hi[i].first);
| ^