結果

問題 No.1822 Keima of Shogi
ユーザー hir355hir355
提出日時 2022-01-28 21:21:19
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 68 ms / 2,000 ms
コード長 54 bytes
コンパイル時間 279 ms
コンパイル使用メモリ 87,252 KB
実行使用メモリ 71,444 KB
最終ジャッジ日時 2023-08-28 18:58:01
合計ジャッジ時間 1,779 ms
ジャッジサーバーID
(参考情報)
judge15 / judge13
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 67 ms
71,332 KB
testcase_01 AC 68 ms
71,288 KB
testcase_02 AC 68 ms
71,352 KB
testcase_03 AC 66 ms
70,944 KB
testcase_04 AC 68 ms
71,116 KB
testcase_05 AC 68 ms
71,112 KB
testcase_06 AC 67 ms
71,172 KB
testcase_07 AC 67 ms
71,408 KB
testcase_08 AC 68 ms
71,444 KB
testcase_09 AC 67 ms
70,948 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(input())
n //= 2
print((n + 2) * (n + 1) // 2)
0