제출 #772439

#제출 시각아이디문제언어결과실행 시간메모리
772439ono_de206비스킷 담기 (IOI20_biscuits)C++14
컴파일 에러
0 ms0 KiB
#include "stations.h" #include<bits/stdc++.h> using namespace std; #define in insert #define all(x) x.begin(),x.end() #define pb push_back #define eb emplace_back #define ff first #define ss second // #define int long long typedef long long ll; typedef vector<int> vi; typedef set<int> si; typedef multiset<int> msi; typedef pair<int, int> pii; typedef vector<pii> vpii; vector<int> label(int n, int k, vector<int> u, vector<int> v) { vector<int> labels(n); for (int i = 0; i < n; i++) { labels[i] = i; } return labels; } int find_next_station(int s, int t, vector<int> c) { auto check = [&](int mn, int mx) -> bool { mn++; mx++; while(mx > 0) { if(mx == mn) return true; mx >>= 1; } return false; }; if(t < s || !check(s, t)) return c[0]; for(int i = 1; i < c.size(); i++) { if(check(c[i], t)) return c[i]; } return 69; }

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

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