/ Vijos /

记录详情

Compile Error

/in/foo.cc:13:5: error: 'int index' redeclared as different kind of symbol
 int index;
     ^~~~~
In file included from /usr/include/c++/6/cstring:42:0,
                 from /in/foo.cc:5:
/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:17:21: error: no pre-increment operator for type
     DFN[x]=LOW[x]=++index;
                     ^~~~~
/in/foo.cc:23:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(int i=0;i<v[x].size();i++)
                 ~^~~~~~~~~~~~

信息

递交者
类型
递交
题目
P1023 Victoria的舞会3
语言
C++
递交时间
2017-08-01 16:29:36
评测时间
2017-08-01 16:29:36
评测机
分数
0
总耗时
304ms
峰值内存
38.859 MiB