분류 전체보기439 백준 2309번 C++ #include #include #include using namespace std; vector v; void sumhundred(int s) {int sum = s; for (int i = 0; i < 8; i++) {for (int j = i + 1; j < 9; j++) {if (sum - v[i] - v[j] == 100) {for (int k = 0; k < 9; k++) {if (k != i && k != j)cout height;v.push_back(height);sum += height;}sort(v.begin(), v.end());sumhundred(sum);} 2019. 1. 2. 백준 1158번 C++ #include #include #include using namespace std; int main(void) {int num, data;queue q; cin >> num >> data;cout 2019. 1. 2. 백준 11866번 C++ #include #include #include using namespace std; int main(void) {int num, data;queue q; cin >> num >> data;cout 2019. 1. 2. 백준 10797번 C++ #include using namespace std; class Calculatecarnum {private:int date;int carnum;int count;public:void calculate() {count = 0;cin >> date;for (int i = 0; i > carnum;if (carnum == date) count += 1;}}void printans() {cout 2019. 1. 2. 이전 1 ··· 88 89 90 91 92 93 94 ··· 110 다음