/ AOCode /

记录详情

Compile Error

foo.cc:10:18: warning: suggest parentheses around '+' inside '<<' [-Wparentheses]
   10 | } tree[MAXN << 2 + 1];
      |                ~~^~~
foo.cc: In function 'int main()':
foo.cc:128:22: error: too few arguments to function 'long long int query(int, int, int)'
  128 |    cout << query(1, x) + query(y, n) << endl;
      |                      ^
foo.cc:52:11: note: declared here
   52 | long long query(int l, int r, int k){
      |           ^~~~~
foo.cc:128:36: error: too few arguments to function 'long long int query(int, int, int)'
  128 |    cout << query(1, x) + query(y, n) << endl;
      |                                    ^
foo.cc:52:11: note: declared here
   52 | long long query(int l, int r, int k){
      |           ^~~~~
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
自测
题目
P1038 The FLF Tokens
语言
C++
递交时间
2022-04-29 20:28:33
评测时间
2022-04-29 20:28:33
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes