QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#393811#5249. Banditsucup-team2880Compile Error//C++203.9kb2024-04-19 13:27:462024-04-19 13:27:46

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) {
      |      ^~~~~~