Problem ccs
User innerspace777
Submission Time 2024-06-15 13:05:59
Score 0
Max Time N/A
Max Memory N/A

Compile Error

ccs.cpp: In function ‘int32_t main()’:
ccs.cpp:26:4: error: ‘set’ was not declared in this scope
26 | set<int>::iterator l = s.lower_bound(x);
| ^~~
ccs.cpp:26:4: note: suggested alternatives:
In file included from /usr/include/c++/9/set:61,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:87,
from ccs.cpp:1:
/usr/include/c++/9/bits/stl_set.h:94:11: note: ‘std::set’
94 | class set
| ^~~
In file included from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:87,
from ccs.cpp:1:
/usr/include/c++/9/set:82:13: note: ‘std::pmr::set’
82 | using set = std::set<_Key, _Cmp, polymorphic_allocator<_Key>>;
| ^~~
ccs.cpp:4:13: error: expected primary-expression before ‘long’
4 | #define int long long
| ^~~~
ccs.cpp:26:8: note: in expansion of macro ‘int’
26 | set<int&