제출 #143501

#제출 시각아이디문제언어결과실행 시간메모리
143501shashwatchandraBubble Sort 2 (JOI18_bubblesort2)C++17
컴파일 에러
0 ms0 KiB
#include "bubblesort2.h" #include <bits1/stdc++.h> using namespace std; #define REP(i,n) for(int i = 0;i < n;i++) vector<int> countScans(vector<int> a,vector<int> x,vector<int> v){ vector<int> answer; REP(i,x.size()){ a[x[i]] = v[i]; int ans = 0; REP(i,a.size()){ int cur = 0; REP(j,i){ if(a[j] > a[i])cur++; } ans = max(ans,cur); } answer.push_back(ans); } return answer; }

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

bubblesort2.cpp:2:10: fatal error: bits1/stdc++.h: No such file or directory
 #include <bits1/stdc++.h>
          ^~~~~~~~~~~~~~~~
compilation terminated.