結果

問題 No.71 そろばん
ユーザー 👑 KazunKazun
提出日時 2020-11-13 04:22:16
言語 PyPy3
(7.3.13)
結果
AC  
実行時間 78 ms / 5,000 ms
コード長 56 bytes
コンパイル時間 285 ms
コンパイル使用メモリ 87,264 KB
実行使用メモリ 71,452 KB
最終ジャッジ日時 2023-09-30 01:55:22
合計ジャッジ時間 3,280 ms
ジャッジサーバーID
(参考情報)
judge15 / judge13
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 70 ms
71,124 KB
testcase_01 AC 74 ms
71,384 KB
testcase_02 AC 70 ms
71,368 KB
testcase_03 AC 78 ms
71,024 KB
testcase_04 AC 74 ms
71,440 KB
testcase_05 AC 73 ms
71,372 KB
testcase_06 AC 69 ms
71,280 KB
testcase_07 AC 74 ms
71,416 KB
testcase_08 AC 68 ms
71,276 KB
testcase_09 AC 72 ms
71,076 KB
testcase_10 AC 68 ms
71,292 KB
testcase_11 AC 71 ms
71,392 KB
testcase_12 AC 68 ms
71,080 KB
testcase_13 AC 71 ms
71,164 KB
testcase_14 AC 70 ms
71,420 KB
testcase_15 AC 73 ms
71,436 KB
testcase_16 AC 70 ms
71,452 KB
testcase_17 AC 71 ms
71,224 KB
testcase_18 AC 69 ms
71,328 KB
testcase_19 AC 72 ms
71,364 KB
testcase_20 AC 69 ms
71,176 KB
testcase_21 AC 72 ms
71,340 KB
testcase_22 AC 70 ms
71,260 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N=int(input())
f=lambda x:(x+1)*(N+1-x)-1
print(f(N//2))
0