結果

問題 No.72 そろばん Med
ユーザー nebukuro09nebukuro09
提出日時 2016-11-01 16:49:18
言語 Python2
(2.7.18)
結果
WA  
実行時間 -
コード長 56 bytes
コンパイル時間 38 ms
コンパイル使用メモリ 6,784 KB
実行使用メモリ 6,400 KB
最終ジャッジ日時 2024-05-03 20:39:51
合計ジャッジ時間 1,167 ms
ジャッジサーバーID
(参考情報)
judge4 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 AC 9 ms
6,400 KB
testcase_02 AC 10 ms
6,400 KB
testcase_03 WA -
testcase_04 AC 9 ms
6,272 KB
testcase_05 AC 10 ms
6,272 KB
testcase_06 WA -
testcase_07 WA -
testcase_08 AC 10 ms
6,144 KB
testcase_09 AC 10 ms
6,400 KB
testcase_10 AC 10 ms
6,400 KB
testcase_11 AC 10 ms
6,272 KB
testcase_12 WA -
testcase_13 AC 10 ms
6,400 KB
testcase_14 WA -
testcase_15 WA -
testcase_16 WA -
testcase_17 WA -
testcase_18 WA -
testcase_19 WA -
testcase_20 AC 10 ms
6,400 KB
testcase_21 WA -
testcase_22 AC 9 ms
6,400 KB
testcase_23 WA -
testcase_24 WA -
testcase_25 WA -
testcase_26 AC 9 ms
6,272 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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