QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#393811 | #5249. Bandits | ucup-team2880 | Compile Error | / | / | C++20 | 3.9kb | 2024-04-19 13:27:46 | 2024-04-19 13:27:46 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code: In function ‘void add(int, int, int)’: answer.code:106:15: error: too many arguments to function ‘void update(long long int, __gnu_pbds::tree<std::pair<int, int>, __gnu_pbds::null_type, std::greater<std::pair<int, int> >, __gnu_pbds::rb_tree_tag, __gnu_pbds::tree_order_statistics_node_update>&)’ 106 | update(R, f[x], 1); | ~~~~~~^~~~~~~~~~~~ answer.code:93:6: note: declared here 93 | void update(ll pos, Tree& tr) { | ^~~~~~ answer.code:110:11: error: too many arguments to function ‘void update(long long int, __gnu_pbds::tree<std::pair<int, int>, __gnu_pbds::null_type, std::greater<std::pair<int, int> >, __gnu_pbds::rb_tree_tag, __gnu_pbds::tree_order_statistics_node_update>&)’ 110 | update(R - tmp, f[x], 1); | ~~~~~~^~~~~~~~~~~~~~~~~~ answer.code:93:6: note: declared here 93 | void update(ll pos, Tree& tr) { | ^~~~~~ answer.code:113:11: error: too many arguments to function ‘void update(long long int, __gnu_pbds::tree<std::pair<int, int>, __gnu_pbds::null_type, std::greater<std::pair<int, int> >, __gnu_pbds::rb_tree_tag, __gnu_pbds::tree_order_statistics_node_update>&)’ 113 | update(R - tmp, g[x][BEL], -1); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ answer.code:93:6: note: declared here 93 | void update(ll pos, Tree& tr) { | ^~~~~~