/ Vijos /

记录详情

Compile Error

/in/foo.cc: In function 'bool dfs(int)':
/in/foo.cc:30:16: error: reference to 'move' is ambiguous
     b[j]=(b[j]+move[i][j]*s[i])%4;
                ^~~~
/in/foo.cc:9:5: note: candidates are: int move [9][9]
 int move[9][9]={{1,1,0,1,1,0,0,0,0},
     ^~~~
In file included from /usr/include/c++/6/bits/char_traits.h:39:0,
                 from /usr/include/c++/6/ios:40,
                 from /usr/include/c++/6/ostream:38,
                 from /usr/include/c++/6/iostream:39,
                 from /in/foo.cc:4:
/usr/include/c++/6/bits/stl_algobase.h:479:5: note:                 template<class _II, class _OI> _OI std::move(_II, _II, _OI)
     move(_II __first, _II __last, _OI __result)
     ^~~~
In file included from /usr/include/c++/6/bits/nested_exception.h:40:0,
                 from /usr/include/c++/6/exception:173,
                 from /usr/include/c++/6/ios:39,
                 from /usr/include/c++/6/ostream:38,
                 from /usr/include/c++/6/iostream:39,
                 from /in/foo.cc:4:
/usr/include/c++/6/bits/move.h:101:5: note:                 template<class _Tp> constexpr typename std::remove_reference< <template-parameter-1-1> >::type&& std::move(_Tp&&)
     move(_Tp&& __t) noexcept
     ^~~~

信息

递交者
类型
递交
题目
P1016 北京2008的挂钟
语言
C++
递交时间
2020-12-09 00:28:44
评测时间
2020-12-09 00:28:44
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes