和の公式(等差数列の和)

Atcoder

Atcoder対策用入力・データ構造・数学・アルゴリズムの整理

スニペット
Atcoder

【ABC056】AtCoder Beginner Contest 056 A,B,C問題 解答・解説【Python】

A問題 HonestOrDishonest B問題 NarrowRectanglesEasy C - Go Home 方針 時刻iは1,2,3,4,5・・・と1秒ごとに進みます。i秒目の時は、距離iを前後に移動すること、また...