/ new_bzoj /

记录详情

Compile Error

/in/foo.cc:7:28: error: 'int index' redeclared as different kind of symbol
 int dfn[N],low[N],stack[N],index;
                            ^~~~~
In file included from /usr/include/c++/7/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:35:21: error: no pre-increment operator for type
     dfn[x]=low[x]=++index;
                     ^~~~~

信息

递交者
类型
递交
题目
Trick or Treat on the Farm 采集糖果
语言
C++
递交时间
2017-10-15 17:38:38
评测时间
2017-10-15 17:38:38
评测机
分数
0
总耗时
396ms
峰值内存
35.723 MiB