제출 #1074244

#제출 시각아이디문제언어결과실행 시간메모리
1074244fv3수천개의 섬 (IOI22_islands)C++17
컴파일 에러
0 ms0 KiB
#include "islands.h"
#include <bits/stdc++.h>

using namespace std;

variant<bool, vector<int>> find_journey(int N, int M, vector<int> U, vector<int> V) 
{
  /*if (N == 4) 
  {
    return vector<int>({0, 1, 2, 4, 0, 3, 2, 1, 4, 3});
  }*/
  return false;
}

#include "grader.cpp"

컴파일 시 표준 에러 (stderr) 메시지

/usr/bin/ld: /tmp/ccDsARpp.o: in function `main':
grader.cpp:(.text.startup+0x0): multiple definition of `main'; /tmp/cc0ETgol.o:islands.cpp:(.text.startup+0x0): first defined here
collect2: error: ld returned 1 exit status