/ Vijos /

记录详情

Compile Error

/in/foo.cc:6:11: error: 'int index' redeclared as different kind of symbol
 int top=0,index=0,tot=0,num=0,asd=0;
           ^~~~~
In file included from /usr/include/c++/6/cstring:42:0,
                 from /in/foo.cc:3:
/usr/include/string.h:477:1: note: previous declaration 'const char* index(const char*, int)'
 index (const char *__s, int __c) __THROW
 ^~~~~
/in/foo.cc: In function 'void tarjan(int)':
/in/foo.cc:24:18: error: no pre-increment operator for type
  dfn[x]=low[x]=++index;
                  ^~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:49:8: warning: unused variable 'm' [-Wunused-variable]
  int n,m;
        ^
/in/foo.cc:51:8: warning: unused variable 'w' [-Wunused-variable]
  int q,w;
        ^

信息

递交者
类型
递交
题目
P1023 Victoria的舞会3
语言
C++
递交时间
2017-06-29 08:32:45
评测时间
2017-06-29 08:32:45
评测机
分数
0
总耗时
288ms
峰值内存
29.512 MiB