2022-08-07から1日間の記事一覧
Dまでの4完。 Eはうまく整理しきれず。 atcoder.jp A問題 (Full House) def solve(): input = sys.stdin.readline INF = 10 ** 25 mod = 7 + 10 ** 9 A, B, C, D, E = map(int, input().split()) L = [A, B, C, D, E] N = dict() for l in L: if l in N: N[l…
Dまでの4完。 Eはうまく整理しきれず。 atcoder.jp A問題 (Full House) def solve(): input = sys.stdin.readline INF = 10 ** 25 mod = 7 + 10 ** 9 A, B, C, D, E = map(int, input().split()) L = [A, B, C, D, E] N = dict() for l in L: if l in N: N[l…