로딩
요청 처리 중입니다...

2024 한민고 정보캠프 0107 백준 문제 정리 (C++) - 1920, 2805, 1260, 11724, 1697, 15732, 2268, 12837

 2024 한민고 정보캠프 0107 백준 문제 정리 (C++) - 1920, 2805, 1260, 11724, 1697, 15732, 2268, 12837

1시~9시 정캠 폼미,, 슬슬 난도도 높아져서 죽을 뻔 함 날먹 문제가 거의 없어서,,, 1. 1920 수 찾기 #include #include #include using namespace std; vector a; int bs(int st, int ed, int tmp) { while(st<=ed) { int mid = (st+ed)/2; if(a[mid]==tmp) return 1; else if(a[mid]> n; a.resize(n, 0); for(int i=0; i> a[i]; sort(a.begin(), a.end()); cin >> m; int tmp; for...