제출 #499449

#제출 시각아이디문제언어결과실행 시간메모리
499449adamKaučuk (COCI21_kaucuk)C++14
컴파일 에러
0 ms0 KiB
#include <bita/stdc++.h> using namespace std; int main() { string a,d; int n,x=0,y=0,z=0; cin>>n; for (int i=1;i<=n;i++) { cin>>a>>d; if (a=="section") { x++; y=0; z=0; } elae if (a=="subsection") { y++; z=0; } else { z++; } if (z>0) { cout<<x<<'.'<<y<<'.'<<z<<' '<<d<<endl;; } else if (y>0) { cout<<x<<'.'<<y<<' '<<d<<endl; } else { cout<<x<<' '<<d<<endl; } } return 0; }

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

Main.cpp:1:10: fatal error: bita/stdc++.h: No such file or directory
    1 | #include <bita/stdc++.h>
      |          ^~~~~~~~~~~~~~~
compilation terminated.