foo.cc: In member function 'void Vector3Array::Sort(int)':
foo.cc:70:14: error: no matching function for call to 'Vector3::Vector3()'
70 | Vector3 tmp;
| ^~~
foo.cc:14:2: note: candidate: 'Vector3::Vector3(int, int, int)'
14 | Vector3(int x1, int y1, int z1)
| ^~~~~~~
foo.cc:14:2: note: candidate expects 3 arguments, 0 provided
foo.cc:8:2: note: candidate: 'Vector3::Vector3(const Vector3&)'
8 | Vector3(const Vector3& V)
| ^~~~~~~
foo.cc:8:2: note: candidate expects 1 argument, 0 provided
foo.cc: In function 'int main()':
foo.cc:81:15: error: use of deleted function 'Vector3Array::Vector3Array()'
81 | Vector3Array A;
| ^
foo.cc:49:7: note: 'Vector3Array::Vector3Array()' is implicitly deleted because the default definition would be ill-formed:
49 | class Vector3Array
| ^~~~~~~~~~~~
foo.cc:49:7: error: no matching function for call to 'Vector3::Vector3()'
foo.cc:14:2: note: candidate: 'Vector3::Vector3(int, int, int)'
14 | Vector3(int x1, int y1, int z1)
| ^~~~~~~
foo.cc:14:2: note: candidate expects 3 arguments, 0 provided
foo.cc:8:2: note: candidate: 'Vector3::Vector3(const Vector3&)'
8 | Vector3(const Vector3& V)
| ^~~~~~~
foo.cc:8:2: note: candidate expects 1 argument, 0 provided
[Hydro](https://hydro.ac)提供评测服务