結果

問題 No.71 そろばん
ユーザー 👑 rin204rin204
提出日時 2022-01-20 11:58:01
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 70 ms / 5,000 ms
コード長 66 bytes
コンパイル時間 348 ms
コンパイル使用メモリ 85,796 KB
実行使用メモリ 70,872 KB
最終ジャッジ日時 2023-08-15 08:48:02
合計ジャッジ時間 3,441 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 66 ms
70,800 KB
testcase_01 AC 67 ms
70,800 KB
testcase_02 AC 68 ms
70,740 KB
testcase_03 AC 64 ms
70,872 KB
testcase_04 AC 63 ms
70,672 KB
testcase_05 AC 64 ms
70,772 KB
testcase_06 AC 67 ms
70,808 KB
testcase_07 AC 65 ms
70,796 KB
testcase_08 AC 64 ms
70,872 KB
testcase_09 AC 66 ms
70,672 KB
testcase_10 AC 67 ms
70,660 KB
testcase_11 AC 66 ms
70,776 KB
testcase_12 AC 69 ms
70,800 KB
testcase_13 AC 70 ms
70,684 KB
testcase_14 AC 64 ms
70,800 KB
testcase_15 AC 65 ms
70,740 KB
testcase_16 AC 65 ms
70,772 KB
testcase_17 AC 67 ms
70,668 KB
testcase_18 AC 68 ms
70,776 KB
testcase_19 AC 65 ms
70,872 KB
testcase_20 AC 66 ms
70,684 KB
testcase_21 AC 65 ms
70,632 KB
testcase_22 AC 68 ms
70,372 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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