1) 백준 1764 : 듣보잡 (https://www.acmicpc.net/problem/1764)
미래의 나야... 잘 보렴;;;
STL을 잘 공부했니? 난 이거 봤을 때 좀 충격이었어.
binary_search(begin, end, str)
하니까 서치가 되.
대박이야;;;
vector를 사이즈 알고있으면 resize해서 처음부터 공간 할당해 주는게 속도가 더 빠르데.
string 을 %s로 출력하면 이상하고, cout으로 출력해야 하나봐..
sort하고
binary search하고
find하면 result에 추가하고
result sort하고
개수와 result 출력하면 돼.
STL공부하러 가야겟다 하핳
https://github.com/JangJuMan/2019-winter-PS/blob/master/9_1764.cpp
끗...ㅠ