2020-06-09から1日間の記事一覧

ABC082 をPythonで解く

atcoder.jp A~Cを解いた。 A - Round Up the Mean import numpy as np A,B = map(int,input().split()) ans = int(np.ceil((A+B)/2)) print(ans) B - Two Anagrams s = input() t = input() sl = list(s) sl.sort() tl = list(t) tl.sort() tl=tl[::-1] S=""…