結果

問題 No.71 そろばん
ユーザー nebukuro09nebukuro09
提出日時 2016-11-01 15:32:18
言語 Python2
(2.7.18)
結果
AC  
実行時間 157 ms / 5,000 ms
コード長 56 bytes
コンパイル時間 210 ms
コンパイル使用メモリ 6,532 KB
実行使用メモリ 37,528 KB
最終ジャッジ日時 2023-08-16 12:13:18
合計ジャッジ時間 3,948 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 11 ms
6,036 KB
testcase_01 AC 11 ms
6,092 KB
testcase_02 AC 157 ms
37,528 KB
testcase_03 AC 68 ms
18,484 KB
testcase_04 AC 97 ms
24,196 KB
testcase_05 AC 130 ms
32,476 KB
testcase_06 AC 145 ms
35,976 KB
testcase_07 AC 99 ms
25,536 KB
testcase_08 AC 73 ms
19,644 KB
testcase_09 AC 140 ms
34,784 KB
testcase_10 AC 93 ms
24,188 KB
testcase_11 AC 30 ms
9,912 KB
testcase_12 AC 56 ms
15,520 KB
testcase_13 AC 147 ms
35,908 KB
testcase_14 AC 67 ms
18,060 KB
testcase_15 AC 119 ms
29,804 KB
testcase_16 AC 30 ms
10,044 KB
testcase_17 AC 76 ms
19,812 KB
testcase_18 AC 126 ms
30,912 KB
testcase_19 AC 146 ms
35,432 KB
testcase_20 AC 142 ms
35,016 KB
testcase_21 AC 72 ms
19,128 KB
testcase_22 AC 109 ms
27,540 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N=input()
print max((N-d)*(d+1)+d for d in range(1,N+1))
0