/ Vijos /

记录详情

Compile Error

/in/foo.cc: In function 'int GetRes(int)':
/in/foo.cc:35:3: error: expected ';' before 'x'
   x-=lowbits(x);
   ^
/in/foo.cc: In function 'int main()':
/in/foo.cc:48:21: error: 'cmp' was not declared in this scope
  sort(dis+1,dis+n+1,cmp);
                     ^~~
/in/foo.cc:60:13: error: 'q' was not declared in this scope
   for(int j=q[i];j;j=nxt[j])
             ^
/in/foo.cc:60:22: error: 'nxt' was not declared in this scope
   for(int j=q[i];j;j=nxt[j])
                      ^~~
/in/foo.cc:62:4: error: 'l' was not declared in this scope
    l=lower_bound(dis+1,dis+v+1,L[j])-dis;
    ^
/in/foo.cc:63:4: error: 'r' was not declared in this scope
    r=lower_bound(dis+1,dis+v+1,R[j])-dis;
    ^

信息

递交者
类型
自测
题目
P1923 漫长的等待
语言
C++
递交时间
2018-05-10 20:06:50
评测时间
2018-05-10 20:06:50
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes