0_0_21572510_1904.cpp: In member function 'int tupl::tuple(double, double, double)':
0_0_21572510_1904.cpp:8:39: error: only constructors take member initializers
tuple(double _x,double _y,double _z):x(_x),y(_y),z(_z){}
^
0_0_21572510_1904.cpp: In function 'tupl operator+(tupl, tupl)':
0_0_21572510_1904.cpp:11:37: error: no matching function for call to 'tupl::tupl(double, double, double)'
return tupl(a.x+b.x,a.y+b.y,a.z+b.z);
^
0_0_21572510_1904.cpp:11:37: note: candidates are:
0_0_21572510_1904.cpp:7:2: note: tupl::tupl()
tupl(){}
^
0_0_21572510_1904.cpp:7:2: note: candidate expects 0 arguments, 3 provided
0_0_21572510_1904.cpp:5:8: note: constexpr tupl::tupl(const tupl&)
struct tupl{
^
0_0_21572510_1904.cpp:5:8: note: candidate expects 1 argument, 3 provided
0_0_21572510_1904.cpp:5:8: note: constexpr tupl::tupl(tupl&&)
0_0_21572510_1904.cpp:5:8: note: candidate expects 1 argument, 3 provided
0_0_21572510_1904.cpp: In function 'tupl operator-(tupl, tupl)':
0_0_21572510_1904.cpp:14:37: error: no matching function for call to 'tupl::tupl(double, double, double)'
return tupl(a.x-b.x,a.y-b.y,a.z-b.z);
^
0_0_21572510_1904.cpp:14:37: note: candidates are:
0_0_21572510_1904.cpp:7:2: note: tupl::tupl()
tupl(){}
^
0_0_21572510_1904.cpp:7:2: note: candidate expects 0 arguments, 3 provided
0_0_21572510_1904.cpp:5:8: note: constexpr tupl::tupl(const tupl&)
struct tupl{
^
0_0_21572510_1904.cpp:5:8: note: candidate expects 1 argument, 3 provided
0_0_21572510_1904.cpp:5:8: note: constexpr tupl::tupl(tupl&&)
0_0_21572510_1904.cpp:5:8: note: candidate expects 1 argument, 3 provided
0_0_21572510_1904.cpp: In function 'tupl operator*(tupl, double)':
0_0_21572510_1904.cpp:17:31: error: no matching function for call to 'tupl::tupl(double, double, double)'
return tupl(a.x*b,a.y*b,a.z*b);
^
0_0_21572510_1904.cpp:17:31: note: candidates are:
0_0_21572510_1904.cpp:7:2: note: tupl::tupl()
tupl(){}
^
0_0_21572510_1904.cpp:7:2: note: candidate expects 0 arguments, 3 provided
0_0_21572510_1904.cpp:5:8: note: constexpr tupl::tupl(const tupl&)
struct tupl{
^
0_0_21572510_1904.cpp:5:8: note: candidate expects 1 argument, 3 provided
0_0_21572510_1904.cpp:5:8: note: constexpr tupl::tupl(tupl&&)
0_0_21572510_1904.cpp:5:8: note: candidate expects 1 argument, 3 provided
0_0_21572510_1904.cpp: At global scope:
0_0_21572510_1904.cpp:26:1: error: 'vecor' does not name a type
vecor<int>G[maxn];
^
0_0_21572510_1904.cpp: In function 'void dfs1(int)':
0_0_21572510_1904.cpp:30:16: error: no matching function for call to 'tupl::tupl(int, int, int)'
tupl son(0,0,0);
^
0_0_21572510_1904.cpp:30:16: note: candidates are:
0_0_21572510_1904.cpp:7:2: note: tupl::tupl()
tupl(){}
^
0_0_21572510_1904.cpp:7:2: note: candidate expects 0 arguments, 3 provided
0_0_21572510_1904.cpp:5:8: note: constexpr tupl::tupl(const tupl&)
struct tupl{
^
0_0_21572510_1904.cpp:5:8: note: candidate expects 1 argument, 3 provided
0_0_21572510_1904.cpp:5:8: note: constexpr tupl::tupl(tupl&&)
0_0_21572510_1904.cpp:5:8: note: candidate expects 1 argument, 3 provided
0_0_21572510_1904.cpp:31:13: error: 'G' was not declared in this scope
for(auto v:G[u]){
^
0_0_21572510_1904.cpp:38:10: error: 'G' was not declared in this scope
son=son/G[u].size();
^
0_0_21572510_1904.cpp: In function 'void dfs2(int)':
0_0_21572510_1904.cpp:50:13: error: 'G' was not declared in this scope
for(auto v:G[u]){
^
0_0_21572510_1904.cpp: In function 'void solve()':
0_0_21572510_1904.cpp:63:3: error: 'G' was not declared in this scope
G[i].clear();
^
0_0_21572510_1904.cpp:78:3: error: 'G' was not declared in this scope
G[u].push_back(v);
^
0_0_21572510_1904.cpp:87:18: error: no matching function for call to 'tupl::tupl(int, int, int)'
dp[n]=tupl(0,0,0);
^
0_0_21572510_1904.cpp:87:18: note: candidates are:
0_0_21572510_1904.cpp:7:2: note: tupl::tupl()
tupl(){}
^
0_0_21572510_1904.cpp:7:2: note: candidate expects 0 arguments, 3 provided
0_0_21572510_1904.cpp:5:8: note: constexpr tupl::tupl(const tupl&)
struct tupl{
^
0_0_21572510_1904.cpp:5:8: note: candidate expects 1 argument, 3 provided
0_0_21572510_1904.cpp:5:8: note: constexpr tupl::tupl(tupl&&)
0_0_21572510_1904.cpp:5:8: note: candidate expects 1 argument, 3 provided
|