結果

問題 No.71 そろばん
ユーザー JunOnumaJunOnuma
提出日時 2017-06-15 10:57:37
言語 Python2
(2.7.18)
結果
AC  
実行時間 358 ms / 5,000 ms
コード長 86 bytes
コンパイル時間 469 ms
コンパイル使用メモリ 6,996 KB
実行使用メモリ 37,852 KB
最終ジャッジ日時 2023-10-25 06:46:03
合計ジャッジ時間 5,869 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 11 ms
6,344 KB
testcase_01 AC 11 ms
6,344 KB
testcase_02 AC 358 ms
37,852 KB
testcase_03 AC 150 ms
18,716 KB
testcase_04 AC 212 ms
24,260 KB
testcase_05 AC 303 ms
32,904 KB
testcase_06 AC 339 ms
36,268 KB
testcase_07 AC 224 ms
25,776 KB
testcase_08 AC 163 ms
20,036 KB
testcase_09 AC 328 ms
35,212 KB
testcase_10 AC 214 ms
24,524 KB
testcase_11 AC 58 ms
10,336 KB
testcase_12 AC 118 ms
15,616 KB
testcase_13 AC 342 ms
36,268 KB
testcase_14 AC 146 ms
18,452 KB
testcase_15 AC 273 ms
30,264 KB
testcase_16 AC 56 ms
10,336 KB
testcase_17 AC 165 ms
20,036 KB
testcase_18 AC 287 ms
31,320 KB
testcase_19 AC 336 ms
35,740 KB
testcase_20 AC 331 ms
35,476 KB
testcase_21 AC 158 ms
19,508 KB
testcase_22 AC 249 ms
27,888 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(raw_input())
m = 0
for i in range(1,n):
    m = max(m, i+(i+1)*(n-i))
print m
0