QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#513929 | #9172. Alternating Cycle | ucup-team4507# | Compile Error | / | / | C++23 | 4.0kb | 2024-08-10 20:48:29 | 2024-08-10 20:48:29 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code:87:11: error: redefinition of ‘long long int cross(Point, Point, Point)’ 87 | long long cross(const Point o, const Point a, const Point b) { | ^~~~~ answer.code:9:11: note: ‘long long int cross(Point, Point, Point)’ previously defined here 9 | long long cross(const Point o, const Point a, const Point b) { | ^~~~~ answer.code:92:6: error: redefinition of ‘bool is_alternating_cycle(const std::vector<std::pair<long long int, long long int> >&)’ 92 | bool is_alternating_cycle(const vector<Point>& cycle) { | ^~~~~~~~~~~~~~~~~~~~ answer.code:14:6: note: ‘bool is_alternating_cycle(const std::vector<std::pair<long long int, long long int> >&)’ previously defined here 14 | bool is_alternating_cycle(const vector<Point>& cycle) { | ^~~~~~~~~~~~~~~~~~~~ answer.code:113:15: error: redefinition of ‘std::vector<std::pair<long long int, long long int> > find_alternating_cycle(const std::vector<std::pair<long long int, long long int> >&)’ 113 | vector<Point> find_alternating_cycle(const vector<Point>& points) { | ^~~~~~~~~~~~~~~~~~~~~~ answer.code:35:15: note: ‘std::vector<std::pair<long long int, long long int> > find_alternating_cycle(const std::vector<std::pair<long long int, long long int> >&)’ previously defined here 35 | vector<Point> find_alternating_cycle(const vector<Point>& points) { | ^~~~~~~~~~~~~~~~~~~~~~ answer.code:137:8: error: redefinition of ‘int main()’ 137 | signed main() { | ^~~~ answer.code:59:8: note: ‘int main()’ previously defined here 59 | signed main() { | ^~~~