https://www.acmicpc.net/problem/11659


이거 푸는데 cin cout은


ios_base::sync_with_stdio(false);

cout.tie(NULL);


이거 넣어줘도 시간초과 나오고


scanf printf 쓰면 56ms밖에 안나오는데


https://www.acmicpc.net/blog/view/56


여기서는 더 빠르다고 하는데 백준 서버에서는 아닌건가?