제출 #1190574

#제출 시각아이디문제언어결과실행 시간메모리
1190574AmrRarest Insects (IOI22_insects)C++20
컴파일 에러
0 ms0 KiB
#include "islands.h" #include <variant> #include <vector> #include<bits/stdc++.h> using namespace std; std::variant<bool, std::vector<int>> find_journey( int N, int M, std::vector<int> U, std::vector<int> V) { if(N==2) { int a= 0. b = 0; for(int i = 0; i < M; i++) if(U[i]==0) a++; else b++; if(a>=2&&b>=1) return vector<int>({0,1,0,1,0,1}); else return false; } return vector<int>({0,1,2,1,0,1,2,1}); }

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

insects.cpp:1:10: fatal error: islands.h: No such file or directory
    1 | #include "islands.h"
      |          ^~~~~~~~~~~
compilation terminated.