[백준] Four Squares(17626)
title: "Four Squares(17626)" category: 백준[Class-3] tags: [C++, JavaScript, 백준] date: "2021-03-31" 문제 링크 Four Squares(17626) C++ #include #include using namespace std; // 문제 풀이 함수 void solution(){ int n; cin >> n; vector dp(n+1); dp[0] = 0; dp[1] = 1; for(int i=1; i
Baekjoon Solutions/Class-3
2021. 4. 1. 00:02
[백준] 집합(11723)
title: "집합(11723)" category: 백준[Class-3] tags: [C++, JavaScript, 백준] date: "2021-03-30" 문제 링크 집합(11723) C++ #include #include using namespace std; // 문제 풀이 함수 void solution(){ int m; cin >> m; string log = ""; int bitSet=0; for(int i=0; i> op; if(op == "add"){ cin >> num; bitSet |= 1 num; bitSet &= ~(1 num; if(bitSet&(1
Baekjoon Solutions/Class-3
2021. 3. 30. 21:57