結果

問題 No.71 そろばん
ユーザー yuki2006yuki2006
提出日時 2014-11-18 21:02:31
言語 Python2
(2.7.18)
結果
AC  
実行時間 205 ms / 5,000 ms
コード長 131 bytes
コンパイル時間 858 ms
コンパイル使用メモリ 7,108 KB
実行使用メモリ 6,068 KB
最終ジャッジ日時 2023-08-30 20:44:18
合計ジャッジ時間 4,528 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 11 ms
5,828 KB
testcase_01 AC 11 ms
5,852 KB
testcase_02 AC 205 ms
5,928 KB
testcase_03 AC 89 ms
5,832 KB
testcase_04 AC 123 ms
5,944 KB
testcase_05 AC 175 ms
6,024 KB
testcase_06 AC 193 ms
5,908 KB
testcase_07 AC 130 ms
5,860 KB
testcase_08 AC 95 ms
5,832 KB
testcase_09 AC 189 ms
5,932 KB
testcase_10 AC 122 ms
5,992 KB
testcase_11 AC 36 ms
5,932 KB
testcase_12 AC 70 ms
5,836 KB
testcase_13 AC 195 ms
5,860 KB
testcase_14 AC 86 ms
5,828 KB
testcase_15 AC 158 ms
5,912 KB
testcase_16 AC 36 ms
5,928 KB
testcase_17 AC 97 ms
6,068 KB
testcase_18 AC 164 ms
5,932 KB
testcase_19 AC 192 ms
6,028 KB
testcase_20 AC 189 ms
5,828 KB
testcase_21 AC 93 ms
5,988 KB
testcase_22 AC 143 ms
5,992 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(raw_input())

mx = 0
for i in xrange(1, N):
    j = i + (i + 1) * (N - i)
    if mx < j:
        mx = j

print mx
0