Borderou de evaluare (job #2636120)
Utilizator | Data | 16 iulie 2020 17:33:06 | |
---|---|---|---|
Problema | Munte3 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:37:8: error: 'inlin' does not name a type
static inlin void move( int a1, int a2, int a3, int b1, int b2, int b3 ) { //d[a1][a2][a3] = d[b1][b2][b3]
^~~~~
main.cpp: In function 'int main()':
main.cpp:64:38: error: no matching function for call to 'move(int&, int&, int, const int&, const int&, const int&)'
move( x, a, 0, aux1, aux2, aux3 );
^
In file included from /usr/include/c++/6/bits/nested_exception.h:40:0,
from /usr/include/c++/6/exception:171,
from /usr/include/c++/6/ios:39,
from /usr/include/c++/6/istream:38,
from /usr/include/c++/6/fstream:38,
from main.cpp:1:
/usr/include/c++/6/bits/move.h:101:5: note: candidate: template<class _Tp> constexpr typename std::remove_reference< <template-parameter-1-1> >::type&& std::move(_Tp&&)
move(_Tp&& __t) noexcept
^~~~
/usr/include/c++/6/bits/move.h:101:5: note: template argument deduction/substitution failed:
main.cpp:64:38: note: candidate expects 1 argument, 6 provided
move( x, a, 0, aux1, aux2, aux3 );
^
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/istream:38,
from /usr/include/c++/6/fstream:38,
from main.cpp:1:
/usr/include/c++/6/bits/stl_algobase.h:479:5: note: candidate: template<class _II, class _OI> _OI std::move(_II, _II, _OI)
move(_II __first, _II __last, _OI __result)
^~~~
/usr/include/c++/6/bits/stl_algobase.h:479:5: note: template argument deduction/substitution failed:
main.cpp:64:38: note: candidate expects 3 arguments, 6 provided
move( x, a, 0, aux1, aux2, aux3 );
^
main.cpp:69:38: error: no matching function for call to 'move(int&, int&, int, const int&, const int&, const int&)'
move( x, a, 1, aux1, aux2, aux3 ); //d[x][a][1] = d[x - 2][a][0] + d[x - 2][a][2] + d[x - 2][a][1];
^
In file included from /usr/include/c++/6/bits/nested_exception.h:40:0,
from /usr/include/c++/6/exception:171,
from /usr/include/c++/6/ios:39,
from /usr/include/c++/6/istream:38,
from /usr/include/c++/6/fstream:38,
from main.cpp:1:
/usr/include/c++/6/bits/move.h:101:5: note: candidate: template<class _Tp> constexpr typename std::remove_reference< <template-parameter-1-1> >::type&& std::move(_Tp&&)
move(_Tp&& __t) noexcept
^~~~
/usr/include/c++/6/bits/move.h:101:5: note: template argument deduction/substitution failed:
main.cpp:69:38: note: candidate expects 1 argument, 6 provided
move( x, a, 1, aux1, aux2, aux3 ); //d[x][a][1] = d[x - 2][a][0] + d[x - 2][a][2] + d[x - 2][a][1];
^
In file included from /usr/include/c++/6/bits/char_traits.h:39:0,
from /usr/include/c++/6/ios:40,
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !