2020-04-25から1日間の記事一覧

AtCoder Beginner Contest 144 過去問 (A~C)

参照 atcoder.jp A問題 特に問題なく。 a,b=map(int,input().split()) if 0

AtCoder Beginner Contest 145 過去問 (A~C)

参照 atcoder.jp A問題 問題なく print(int(input())**2) B問題 問題なく n=int(input()) s=input() if n%2!=0: print('No') elif s[:int(n/2)]==s[int(n/2):]: print('Yes') else: print('No') C問題 与えられたN個の座標に対して、 N!通りの経路の組み合わ…