結果

問題 No.71 そろばん
ユーザー yaoshimaxyaoshimax
提出日時 2015-02-28 01:55:52
言語 Python2
(2.7.18)
結果
AC  
実行時間 332 ms / 5,000 ms
コード長 87 bytes
コンパイル時間 458 ms
コンパイル使用メモリ 6,652 KB
実行使用メモリ 37,400 KB
最終ジャッジ日時 2023-09-06 03:55:55
合計ジャッジ時間 6,068 ms
ジャッジサーバーID
(参考情報)
judge15 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 10 ms
5,964 KB
testcase_01 AC 11 ms
5,864 KB
testcase_02 AC 332 ms
37,400 KB
testcase_03 AC 144 ms
18,432 KB
testcase_04 AC 198 ms
24,024 KB
testcase_05 AC 281 ms
32,364 KB
testcase_06 AC 314 ms
35,812 KB
testcase_07 AC 202 ms
25,148 KB
testcase_08 AC 151 ms
19,380 KB
testcase_09 AC 308 ms
34,912 KB
testcase_10 AC 205 ms
24,208 KB
testcase_11 AC 52 ms
10,020 KB
testcase_12 AC 106 ms
15,264 KB
testcase_13 AC 313 ms
35,952 KB
testcase_14 AC 135 ms
18,184 KB
testcase_15 AC 253 ms
29,996 KB
testcase_16 AC 51 ms
9,736 KB
testcase_17 AC 152 ms
19,752 KB
testcase_18 AC 262 ms
30,948 KB
testcase_19 AC 306 ms
35,460 KB
testcase_20 AC 303 ms
35,244 KB
testcase_21 AC 145 ms
18,924 KB
testcase_22 AC 229 ms
27,520 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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