/in/foo.cc: In function 'int main()':
/in/foo.cc:419:16: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[1001]' [-Wformat=]
scanf("%s",&k);
^
/in/foo.cc:444:11: error: call of overloaded 'Bp(int)' is ambiguous
a=Bp(0);
^
/in/foo.cc:298:2: note: candidate: Bp::Bp(long long int)
Bp(long long aa)//int 构造
^~
/in/foo.cc:264:2: note: candidate: Bp::Bp(char*)
Bp(char *c)//char 构造
^~
/in/foo.cc:8:8: note: candidate: constexpr Bp::Bp(const Bp&)
struct Bp
^~
/in/foo.cc:8:8: note: candidate: constexpr Bp::Bp(Bp&&)
/in/foo.cc:449:11: error: call of overloaded 'Bp(int)' is ambiguous
a=Bp(0);
^
/in/foo.cc:298:2: note: candidate: Bp::Bp(long long int)
Bp(long long aa)//int 构造
^~
/in/foo.cc:264:2: note: candidate: Bp::Bp(char*)
Bp(char *c)//char 构造
^~
/in/foo.cc:8:8: note: candidate: constexpr Bp::Bp(const Bp&)
struct Bp
^~
/in/foo.cc:8:8: note: candidate: constexpr Bp::Bp(Bp&&)
/in/foo.cc:455:12: error: call of overloaded 'Bp(int)' is ambiguous
ans=Bp(0);
^
/in/foo.cc:298:2: note: candidate: Bp::Bp(long long int)
Bp(long long aa)//int 构造
^~
/in/foo.cc:264:2: note: candidate: Bp::Bp(char*)
Bp(char *c)//char 构造
^~
/in/foo.cc:8:8: note: candidate: constexpr Bp::Bp(const Bp&)
struct Bp
^~
/in/foo.cc:8:8: note: candidate: constexpr Bp::Bp(Bp&&)
/in/foo.cc:457:10: error: call of overloaded 'Bp(int)' is ambiguous
a=Bp(0);
^
/in/foo.cc:298:2: note: candidate: Bp::Bp(long long int)
Bp(long long aa)//int 构造
^~
/in/foo.cc:264:2: note: candidate: Bp::Bp(char*)
Bp(char *c)//char 构造
^~
/in/foo.cc:8:8: note: candidate: constexpr Bp::Bp(const Bp&)
struct Bp
^~
/in/foo.cc:8:8: note: candidate: constexpr Bp::Bp(Bp&&)