/ Vijos /

记录详情

Compile Error

/in/foo.cc: In function 'int dispose(int, int, int)':
/in/foo.cc:7:14: error: 'b' was not declared in this scope
  if(a[x][i]!=b[1-x][j])
              ^
/in/foo.cc: In function 'int main()':
/in/foo.cc:15:11: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
  cin>>a[0]+1;
       ~~~~^~
/in/foo.cc:16:11: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
  cin>>a[1]+1;
       ~~~~^~
/in/foo.cc:29:11: error: 'b' was not declared in this scope
  if(a[n]!=b[m]) cout<<(f[0][n][m]+f[1][m][n])%1024523;
           ^
/in/foo.cc: In function 'int dispose(int, int, int)':
/in/foo.cc:11:1: warning: control reaches end of non-void function [-Wreturn-type]
 } 
 ^

信息

递交者
类型
递交
题目
P1822 管道取珠
语言
C++
递交时间
2017-09-21 21:47:22
评测时间
2017-09-21 21:47:22
评测机
分数
0
总耗时
353ms
峰值内存
29.926 MiB