/ Vijos /

记录详情

Compile Error

/in/foo.cc: In function 'int solve()':
/in/foo.cc:43:6: warning: statement has no effect [-Wunused-value]
  ans + 1;
  ~~~~^~~
/in/foo.cc:44:13: error: 'next' was not declared in this scope
  if (ans <= next[N - 1])
             ^~~~
/in/foo.cc:44:13: note: suggested alternative:
In file included from /usr/include/c++/6/bits/stl_algobase.h:66:0,
                 from /usr/include/c++/6/algorithm:61,
                 from /in/foo.cc:1:
/usr/include/c++/6/bits/stl_iterator_base_funcs.h:205:5: note:   'std::next'
     next(_ForwardIterator __x, typename
     ^~~~
/in/foo.cc:48:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^

信息

递交者
类型
递交
题目
P1677 陶陶的名字
语言
C++
递交时间
2018-08-19 16:26:02
评测时间
2018-08-19 16:26:02
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes