Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 29 | 30 |
Tags
- 자료구조
- ue5
- 다익스트라
- 우선순위 큐
- Unreal Engine 5
- 그래프
- DFS
- 다이나믹 프로그래밍
- Team Fortress 2
- 정렬
- 브루트포스
- 유니티
- 문자열
- 트리
- 백트래킹
- 구현
- 그리디 알고리즘
- 수학
- VR
- 투 포인터
- XR Interaction Toolkit
- 유니온 파인드
- 누적 합
- c++
- 재귀
- 알고리즘
- BFS
- 시뮬레이션
- 백준
- 스택
Archives
- Today
- Total
목록백준 1515 C++ (1)
1일1알

처음 주어진 문자열을 추적하는 포인터를 하나 두고 1부터 늘려가면서 비교하면서 포인터가 문자열의 끝을 넘어가면 그 수를 출력하였다. #include #include #include #include #include #include #include #include #include #include #include #include #include #include using namespace std; using ll = long long; int main() { ios_base::sync_with_stdio(false); cin.tie(NULL); cout.tie(NULL); string str; cin >> str; int num = 1; int idx = 0; while (true) { string comp ..
알고리즘
2022. 4. 29. 11:21