제출 #1242463

#제출 시각아이디문제언어결과실행 시간메모리
1242463bangan추월 (IOI23_overtaking)C++20
컴파일 에러
0 ms0 KiB
#include "beechtree.h"
#include <bits/stdc++.h>
using namespace std;

#define pb push_back
#define ALL(a) a.begin(), a.end()

vector<int> beechtree(int n, int m, vector<int> p, vector<int> c) {
    int col = c[n-1];
    vector<int> ans(n);
    for (int i = n-1; 0<=i; i--) {
        ans[i] = 1;
        if (c[i] != col) break;
    }
    return ans;
}

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

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