2021-03-01から1ヶ月間の記事一覧
Atcoderのメモ 設問 atcoder.jp ・基本的なif文での解法 a,b= map(int,input().split(" ")) a += b if(a >= 15 and b >= 8): print(1) elif(a >= 10 and b >= 3): print(2) elif(a >= 3): print(3) else: print(4) ・ショートハンド 参考元: Submission #207…
Atcoderのメモ 設問 atcoder.jp ・基本的なif文での解法 a,b= map(int,input().split(" ")) a += b if(a >= 15 and b >= 8): print(1) elif(a >= 10 and b >= 3): print(2) elif(a >= 3): print(3) else: print(4) ・ショートハンド 参考元: Submission #207…