记录详情

Compile Error

/in/foo.cc:12:5: error: 'int index' redeclared as different kind of symbol
 int index, root;
     ^~~~~
In file included from /in/foo.cc:3:0:
/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:16:22: error: no pre-increment operator for type
  DFN[u] = Low[u] = ++index;
                      ^~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:50:24: error: overloaded function with no contextual type information
   ans = root = index = 0;
                        ^

信息

递交者
类型
递交
题目
网络
题目数据
下载
语言
C++
递交时间
2018-08-06 00:45:11
评测时间
2018-08-06 00:45:11
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes