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


인터넷에 저 문제 쳐보니깐 답이 있더라


그래서 제약조건을 좀 걸게


1)자정까지


2)내가 푼 것보다 빠르게(376ms)


두가지 만족해서 풀면

20만원 줄게