QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#513929#9172. Alternating Cycleucup-team4507#Compile Error//C++234.0kb2024-08-10 20:48:292024-08-10 20:48:29

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() {
      |        ^~~~