競技プログラミング

Atcoder

【Python】AtCoder Beginner Contest210 A,B問題 解答

A問題 Cabbages B問題 Bouzu Mekuri nはsの文字数。sは文字列として入力されます。 0は良いカード、1は悪いカードであり、先に悪いカードを引いたら負けのゲームを行います。 高橋君が先行でカ...
Atcoder

【Python】AtCoder Beginner Contest209 A,B問題 解答

A問題 Counting B問題 Can you buy them all? 方針 問題文より入力値の内容は以下の通りです。 n:2行目に入力される値の数 x:所持金 2行目のそれぞれの値:商品の定価 ...
Atcoder

【Python】AtCoder Beginner Contest208 A問題 解答

A問題 Rolling Dice サイコロのとりうる範囲は以下の通りです。 1(サイコロの目の最小値) × A 〜 6(サイコロの目の最大値) × A 問題文Bの値がこの範囲内に収まっていればYesとなります。 例1...
Atcoder

【Python】AtCoder Beginner Contest207 A問題 解答

A問題 Repression
Atcoder

【Python】AtCoder Beginner Contest206 A問題 解答

A問題 Maxi-Buying
Atcoder

【Python】AtCoder Beginner Contest205 A問題 解答

A問題 kcal
Atcoder

【Python】AtCoder Beginner Contest204 A問題 解答

A問題 Rock-paper-scissors
Atcoder

【Python】AtCoder Beginner Contest203 A問題 解答

A問題 Chinchirorin
Atcoder

【Python】AtCoder Beginner Contest202 A問題 解答

A問題 Three Dice
Atcoder

【Python】AtCoder Beginner Contest201 A問題 解答

A問題 Tiny Arithmetic Sequence