AtCoderProblem 1
難易度低めのやつをさっさかやる
子供が寝つくまでごろっとしながらやってました…
https://atcoder.jp/contests/abc011/tasks/abc011_2
Pythonは組み込み関数があるからとても楽でした
n=input() print(n.capitalize())
https://atcoder.jp/contests/abc158/tasks/abc158_b
もう少しシンプルにできたかも?
n, a, b = map(int, input().split()) x = n//(a+b) y = n%(a+b) if y > a: y = a print(x*a+y)
https://atcoder.jp/contests/arc007/tasks/arc007_1
特に言うことなし
x = input() a = list(input()) y = "" for i in a: if i != x: y += i print(y)
https://atcoder.jp/contests/abc052/tasks/abc052_b
工夫点なし
n=input() s=list(input()) x = 0 max=0 for i in s: if i == "I": x += 1 else: x -= 1 if x>max: max=x print(max)
以上