結果

問題 No.72 そろばん Med
ユーザー mlihua09mlihua09
提出日時 2020-09-02 19:58:03
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 73 ms / 5,000 ms
コード長 79 bytes
コンパイル時間 303 ms
コンパイル使用メモリ 87,344 KB
実行使用メモリ 71,544 KB
最終ジャッジ日時 2023-08-14 00:56:02
合計ジャッジ時間 3,291 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 59 ms
71,508 KB
testcase_01 AC 61 ms
71,468 KB
testcase_02 AC 60 ms
71,316 KB
testcase_03 AC 59 ms
71,416 KB
testcase_04 AC 58 ms
71,292 KB
testcase_05 AC 63 ms
71,356 KB
testcase_06 AC 59 ms
71,532 KB
testcase_07 AC 57 ms
71,392 KB
testcase_08 AC 59 ms
71,496 KB
testcase_09 AC 59 ms
71,472 KB
testcase_10 AC 58 ms
71,248 KB
testcase_11 AC 59 ms
71,416 KB
testcase_12 AC 59 ms
71,280 KB
testcase_13 AC 58 ms
71,248 KB
testcase_14 AC 58 ms
71,380 KB
testcase_15 AC 59 ms
71,348 KB
testcase_16 AC 59 ms
71,392 KB
testcase_17 AC 58 ms
71,544 KB
testcase_18 AC 60 ms
71,108 KB
testcase_19 AC 60 ms
71,252 KB
testcase_20 AC 59 ms
71,388 KB
testcase_21 AC 73 ms
71,412 KB
testcase_22 AC 62 ms
71,396 KB
testcase_23 AC 62 ms
71,392 KB
testcase_24 AC 61 ms
71,420 KB
testcase_25 AC 59 ms
71,540 KB
testcase_26 AC 58 ms
71,508 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())

print(((N // 2 + 1) * (N - N // 2 + 1) - 1) % (10 ** 6 + 7))
0