/ XMU_ACM /

记录详情

Compile Error

/in/foo.cc: In function 'bool cmp(que, que)':
/in/foo.cc:33:71: error: 'aSDASsdfx' was not declared in this scope
     return (a.x/siz + 1 == b.x/siz + 1) ? a.y < b.y : a.x/siz + 1 <   aSDASsdfx b.x/siz + 1;
                                                                       ^~~~~~~~~
/in/foo.cc:33:81: error: expected ';' before 'b'
     return (a.x/siz + 1 == b.x/siz + 1) ? a.y < b.y : a.x/siz + 1 <   aSDASsdfx b.x/siz + 1;
                                                                                 ^
/in/foo.cc:33:89: warning: statement has no effect [-Wunused-value]
     return (a.x/siz + 1 == b.x/siz + 1) ? a.y < b.y : a.x/siz + 1 <   aSDASsdfx b.x/siz + 1;
                                                                                 ~~~~~~~~^~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:52:34: warning: pointer to a function used in arithmetic [-Wpointer-arith]
  for (int i = l;i <= r;++i) add[i];
                                  ^
/in/foo.cc:52:34: warning: value computed is not used [-Wunused-value]
  for (int i = l;i <= r;++i) add[i];
                             ~~~~~^
/in/foo.cc:52:34: warning: statement has no effect [-Wunused-value]

信息

递交者
类型
自测
题目
P1073 本题无法使用主席树来做
语言
C++
递交时间
2021-01-17 16:28:42
评测时间
2021-01-17 16:28:42
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes