이번 문제는 1764번 듣보잡이다.접근법두 리스트의 교집합을 구해야 함각 이름은 문자열이며 중복되지 않음이름이 50만 개씩 들어오므로 시간복잡도 O(N log N) 이하 알고리즘 필수작성코드#include using namespace std;int main(void){ ios::sync_with_stdio(false); cin.tie(0); long long N,M; cin >> N >> M; unordered_set s; for(int i = 0; i > str; s.insert(str); } vector v; long long count = 0; for(int j = 0; j > str; auto a = s.count(str);..