Submission #1190574

#TimeUsernameProblemLanguageResultExecution timeMemory
1190574Amr드문 곤충 (IOI22_insects)C++20
Compilation error
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});


}

Compilation message (stderr)

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