結果

問題 No.1822 Keima of Shogi
ユーザー prussian_coderprussian_coder
提出日時 2022-01-30 13:22:54
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 69 ms / 2,000 ms
コード長 41 bytes
コンパイル時間 431 ms
コンパイル使用メモリ 87,164 KB
実行使用メモリ 71,684 KB
最終ジャッジ日時 2023-09-02 01:32:39
合計ジャッジ時間 1,954 ms
ジャッジサーバーID
(参考情報)
judge15 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 69 ms
71,312 KB
testcase_01 AC 67 ms
71,684 KB
testcase_02 AC 66 ms
71,520 KB
testcase_03 AC 66 ms
71,460 KB
testcase_04 AC 68 ms
71,316 KB
testcase_05 AC 67 ms
71,424 KB
testcase_06 AC 64 ms
71,504 KB
testcase_07 AC 65 ms
71,504 KB
testcase_08 AC 64 ms
71,472 KB
testcase_09 AC 65 ms
71,340 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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