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