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 | 31 |
Tags
- 토마토
- 2475번
- n타일링2
- 이펙티브코틀린
- 윤성우 저자
- 스프링 입문
- FIFO paging
- Operating System.
- Spring
- BOJ
- redis
- 스프링 핵심 원리
- 에러핸들링
- 10026번
- 김영한
- Four Squares
- 우아한레디스
- HTTP
- TCP/IP
- Window-Via-c/c++
- 우아한 테크 세미나
- 제프리리처
- C#
- 열혈 tcp/ip 프로그래밍
- 열혈 TCP/IP 소켓 프로그래밍
- C++
- Operating System
- 운영체제
- inflearn
- OS
Archives
- Today
- Total
목록단어 정렬 (1)
나의 브을로오그으

https://www.acmicpc.net/problem/1181 1181번: 단어 정렬 첫째 줄에 단어의 개수 N이 주어진다. (1 ≤ N ≤ 20,000) 둘째 줄부터 N개의 줄에 걸쳐 알파벳 소문자로 이루어진 단어가 한 줄에 하나씩 주어진다. 주어지는 문자열의 길이는 50을 넘지 않는다. www.acmicpc.net #include #include #include using namespace std; struct compare { bool operator() (const string& w1, const string& w2) const { if (w1.size() == w2.size()) { return w1 < w2; } else return w1.size() < w2.size(); } }; int..
알고리즘/BaekJoon
2022. 3. 20. 23:51