/ new_bzoj /

记录详情

Compile Error

/in/foo.cc:12:14: error: 'int index' redeclared as different kind of symbol
 int s,e,temp,index;
              ^~~~~
In file included from /usr/include/c++/7/cstring:42:0,
                 from /in/foo.cc:2:
/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 'int ins(int, int)':
/in/foo.cc:44:1: warning: no return statement in function returning non-void [-Wreturn-type]
 }
 ^
/in/foo.cc: In function 'void tarjan(int)':
/in/foo.cc:48:14: error: no pre-increment operator for type
     dfn[x]=++index;
              ^~~~~
/in/foo.cc:49:12: error: cannot resolve overloaded function 'index' based on conversion to type 'int'
     low[x]=index;
            ^~~~~

信息

递交者
类型
递交
题目
The Cow Prom 奶牛舞会
语言
C++
递交时间
2017-10-19 11:31:00
评测时间
2017-10-19 11:31:00
评测机
分数
0
总耗时
425ms
峰值内存
38.359 MiB