[백준 문제] P1476 날짜 계산 29 Aug 2019 in Algorithm on 백준알고리즘 [백준 문제] P1476 날짜 계산a, b, c = map(int, input().split()) for year in range(0,100000) : if (a == year%15+1) and (b == year%28+1) and (c == year%19+1) : print(year+1) break 15 28 19 7980