Problem swords
User eldensamueln
Submission Time 2025-10-29 13:44:34
Score 0
Max Time N/A
Max Memory N/A

Compile Error

swords.cpp:7:38: error: ‘less’ was not declared in this scope; did you mean ‘std::less’?
7 | using stat_tree = tree<T, null_type, less<T>, rb_tree_tag, tree_order_statistics_node_update>;
| ^~~~
| std::less
In file included from /usr/include/c++/9/string:48,
from /usr/include/c++/9/bits/locale_classes.h:40,
from /usr/include/c++/9/bits/ios_base.h:41,
from /usr/include/c++/9/ios:42,
from /usr/include/c++/9/istream:38,
from /usr/include/c++/9/sstream:38,
from /usr/include/c++/9/complex:45,
from /usr/include/c++/9/ccomplex:39,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:54,
from swords.cpp:1:
/usr/include/c++/9/bits/stl_function.h:340:12: note: ‘std::less’ declared here
340 | s