/ Vijos /

记录详情

Compile Error

/in/foo.cc:5:11: error: redefinition of 'const int maxn'
 const int maxn=10000000+10
           ^~~~
/in/foo.cc:4:11: note: 'const int maxn' previously defined here
 const int maxn=100+5;
           ^~~~
/in/foo.cc:9:7: error: 'maxm' was not declared in this scope
 int f[maxm],inq[maxn];
       ^~~~
/in/foo.cc: In function 'void bfs()':
/in/foo.cc:20:9: error: 'f' was not declared in this scope
  memset(f,inf,sizeof(f));
         ^
/in/foo.cc:29:13: error: 'a' was not declared in this scope
    int to=u|a[i];
             ^
/in/foo.cc:30:10: error: 'b' was not declared in this scope
    to=to&b[i];
          ^
/in/foo.cc: In function 'int main()':
/in/foo.cc:46:3: error: 'b' was not declared in this scope
   b[i]=st;
   ^
/in/foo.cc:49:13: error: 'a' was not declared in this scope
    if(op==1)a[i]+=1<<j;
             ^
/in/foo.cc:54:14: error: 'f' was not declared in this scope
  printf("%d",f[st]);
              ^

信息

递交者
类型
递交
题目
P1026 毒药?解药?
语言
C++
递交时间
2019-08-03 09:59:59
评测时间
2019-08-03 09:59:59
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes