제출 #1360455

#제출 시각아이디문제언어결과실행 시간메모리
1360455lizi14Gondola (IOI14_gondola)C++20
컴파일 에러
0 ms0 KiB
#include <bits/stdc++.h>
using namespace std;
#include gondola.h
int valid(int n, int inputSeq[]){
    int hi=0;
    
    for(int i=0; i<n-1; i++){
        //cout<<inputSeq[i]<<" ";
        if(inputSeq[i]>n)i++;
        if(inputSeq[i]+1!=inputSeq[i+1]){
            if(inputSeq[i]<=n){
                if(inputSeq[i+1]>n){
                    i++;
                    continue;
                }
                else{
                    if(inputSeq[i+1]!=1){
                        
                        hi=1;
                        break;
                    }
                }
            }
        }
        
    }
    if(hi==1)return false;
    else return true;
}

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

gondola.cpp:3:10: error: #include expects "FILENAME" or <FILENAME>
    3 | #include gondola.h
      |          ^~~~~~~