https://www.acmicpc.net/problem/15664 15664번: N과 M (10) 한 줄에 하나씩 문제의 조건을 만족하는 수열을 출력한다. 중복되는 수열을 여러 번 출력하면 안되며, 각 수열은 공백으로 구분해서 출력해야 한다. 수열은 사전 순으로 증가하는 순서로 출력해 www.acmicpc.net #include #include #include #include #include using namespace std; int arr[8]; vector v; int n, m,top=0; void dfs(int j,int in,int out) { if (in == out) { for (int i = 0;i > m; for (int i = 0;i < n;..
https://www.acmicpc.net/problem/2841 2841번: 외계인의 기타 연주 문제 상근이의 상상의 친구 외계인은 손가락을 수십억개 가지고 있다. 어느 날 외계인은 기타가 치고 싶었고, 인터넷에서 간단한 멜로디를 검색했다. 이제 이 기타를 치려고 한다. 보통 기타는 1 www.acmicpc.net #include #include using namespace std; int main() { ios_base::sync_with_stdio(false); cin.tie(NULL); int n, p; cin >> n >> p; int a, b,finger=0; vector *v =new vector[7]; for (int i = 0;i > a >> b; if (v[..
https://www.acmicpc.net/problem/2504 2504번: 괄호의 값 4개의 기호 ‘(’, ‘)’, ‘[’, ‘]’를 이용해서 만들어지는 괄호열 중에서 올바른 괄호열이란 다음과 같이 정의된다. 한 쌍의 괄호로만 이루어진 ‘()’와 ‘[]’는 올바른 괄호열이다. 만일 www.acmicpc.net #include #include #include using namespace std; int main() { ios_base::sync_with_stdio(false); cin.tie(NULL); string xx; stack s; cin >> xx; int n=1,i,result=0; for (i = 0;i < (int)xx.length();i++) { if (xx[i] == '(') { s...
https://www.acmicpc.net/problem/1929 1929번: 소수 구하기 첫째 줄에 자연수 M과 N이 빈 칸을 사이에 두고 주어진다. (1 ≤ M ≤ N ≤ 1,000,000) M이상 N이하의 소수가 하나 이상 있는 입력만 주어진다. www.acmicpc.net 백준 소스코드 [C++] 1929 소수 구하기 #include #include #include using namespace std; int main() { ios_base::sync_with_stdio(false); cin.tie(NULL); int a, b; cin >> a >> b; bool* arr = new bool[b + 1]; for (int i = 2;i
https://www.acmicpc.net/problem/1780 1780번: 종이의 개수 N×N크기의 행렬로 표현되는 종이가 있다. 종이의 각 칸에는 -1, 0, 1의 세 값 중 하나가 저장되어 있다. 우리는 이 행렬을 적절한 크기로 자르려고 하는데, 이때 다음의 규칙에 따라 자르려고 한다. www.acmicpc.net 백준 소스코드 [C++] 1780 종이의 개수 #include #include #include #include #include using namespace std; int arr[27*27*3+1][27*27*3+1]; int Minus = 0, zero = 0,Plus=0; void dfs(int s, int g, int out, int arr[][27*27*3+1]) { int p ..
- Total
- Today
- Yesterday
- WWDC21
- MeTal
- 컴퓨터 추상화
- 다익스트라 시간복잡도
- Testable
- 에드몬드 카프 알고리즘
- 부스트캠프 6기
- CompositionalLayout
- CPU와 Memory
- 최단경로 문제
- WWDC19
- 강한 순환 참조
- 최단경로 알고리즘
- State Restoration
- mach-o
- 최대 매칭
- WWDC17
- IOS
- 벨만포드 시간복잡도
- WWDC16
- 포드 풀커슨 알고리즘
- HIG
- 코딩대회
- 네트워크 플로우
- 최단경로문제
- test coverage
- rxswift
- 네트워크 유량
- 벨만포드 알고리즘
- observeOn
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |