0_0_19626918_25128.cpp:28:13: error: expected unqualified-id before ')' token
struct Pos()
^
0_0_19626918_25128.cpp:31:22: error: expected ')' before 'nx'
struct Pos(pos_type nx, pos_type ny)
^
0_0_19626918_25128.cpp: In member function 'Pos Pos::Add(int, int)':
0_0_19626918_25128.cpp:38:52: error: no matching function for call to 'Pos::Pos(pos_type, pos_type)'
return Pos((pos_type)(x + dx), (pos_type)(y + dy));
^
0_0_19626918_25128.cpp:38:52: note: candidates are:
0_0_19626918_25128.cpp:25:8: note: Pos::Pos()
struct Pos
^
0_0_19626918_25128.cpp:25:8: note: candidate expects 0 arguments, 2 provided
0_0_19626918_25128.cpp:25:8: note: constexpr Pos::Pos(const Pos&)
0_0_19626918_25128.cpp:25:8: note: candidate expects 1 argument, 2 provided
0_0_19626918_25128.cpp:25:8: note: constexpr Pos::Pos(Pos&&)
0_0_19626918_25128.cpp:25:8: note: candidate expects 1 argument, 2 provided
0_0_19626918_25128.cpp: In function 'int calc()':
0_0_19626918_25128.cpp:160:30: error: 'memset' was not declared in this scope
memset(mark, 0, sizeof(mark));
^
0_0_19626918_25128.cpp:174:38: error: 'memcmp' was not declared in this scope
if (memcmp(b.box, ans, sizeof(ans)) == 0)
^
|