競技プログラミングの問題を解いてみたメモ
AtCoder Regular Contest
No.033 A
問題
コード
個の位置から重複を許して2つ取り出す組み合わせの数なので,
である.