백준 #30
Replies: 26 comments 1 reply
-
|
Beta Was this translation helpful? Give feedback.
-
0x00강: 오리엔테이션위의 코드에서 잘못된 것은 무엇일까?최댓값이 1개가 아니고, 여러개인 경우 문제가 됨 그럼 어떻게 고치면 될까? 정답 코드#include <algorithm>
int solution3(int arr[]){
return *max_element(arr, arr+4);
}0x02강: 기초 코드 작성 요령 IIvoid swap1(int a, int b){
int tmp = a;
a = b;
b = tmp;
}void swap2(int* a, int* b){
int tmp = *a;
*a = *b;
*b = tmp;
}void swap3(int& a, int& b){
int tmp = a;
a = b;
b = tmp;
}https://www.acmicpc.net/problem/10871 |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
부록 A: 문자열 기초int main() {
// R"DELIM(...내용...)DELIM"
cout << R"DELIM( ,r'"7
r`-_ ,' ,/
\. ". L_r'
`~\/
|
|)DELIM";
return 0;
} |
Beta Was this translation helpful? Give feedback.
-
0x04강: 연결 리스트 |
Beta Was this translation helpful? Give feedback.
-
0x05강: 스택 |
Beta Was this translation helpful? Give feedback.
-
0x06강: 큐 |
Beta Was this translation helpful? Give feedback.
-
0x07강: 덱 |
Beta Was this translation helpful? Give feedback.
-
0x09강: BFS |
Beta Was this translation helpful? Give feedback.
-
0x0A강: DFS |
Beta Was this translation helpful? Give feedback.
-
0x0B강: 재귀 |
Beta Was this translation helpful? Give feedback.
-
0x0C강: 백트래킹 |
Beta Was this translation helpful? Give feedback.
-
0x0D강: 시뮬레이션 |
Beta Was this translation helpful? Give feedback.
-
0x0E강: 정렬0x1A강: 위상정렬 |
Beta Was this translation helpful? Give feedback.
-
0x10강: 다이나믹 프로그래밍 |
Beta Was this translation helpful? Give feedback.
-
0x11강: 그리디 |
Beta Was this translation helpful? Give feedback.
-
부록 C: 비트마스킹 |
Beta Was this translation helpful? Give feedback.
-
0x12강: 수학 |
Beta Was this translation helpful? Give feedback.
-
0x13강: 이분탐색0x14강: 투 포인터 |
Beta Was this translation helpful? Give feedback.
-
0x15강: 해시0x16강: 이진 검색 트리0x17강: 우선순위 큐 |
Beta Was this translation helpful? Give feedback.
-
0x18강: 그래프0x19강: 트리 |
Beta Was this translation helpful? Give feedback.
-
0x1B강: 최소 신장 트리 |
Beta Was this translation helpful? Give feedback.
-
0x1C강: 플로이드 알고리즘 |
Beta Was this translation helpful? Give feedback.
-
0x1D강: 다익스트라 알고리즘 |
Beta Was this translation helpful? Give feedback.
-
0x1E강: KMP 알고리즘0x1F강: 트라이 |
Beta Was this translation helpful? Give feedback.
-
부록 D: Union-Find |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
리드미
Beta Was this translation helpful? Give feedback.
All reactions