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

뒤에서부터 substr를 이용해서 부분 문자열을 추출하면서 set에 넣어서 넣은 만큼 있으면 모두 다른 것이므로 그때가 서로 다른 최소의 길이이다. #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); int n; cin >> n; vector v(n); for (int i = 0; i > v..
알고리즘
2022. 4. 16. 11:20