結果

問題 No.71 そろばん
ユーザー tnoda_tnoda_
提出日時 2015-08-05 20:20:02
言語 Python2
(2.7.18)
結果
AC  
実行時間 159 ms / 5,000 ms
コード長 60 bytes
コンパイル時間 47 ms
コンパイル使用メモリ 6,576 KB
実行使用メモリ 37,756 KB
最終ジャッジ日時 2023-09-25 04:01:53
合計ジャッジ時間 3,281 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 11 ms
5,948 KB
testcase_01 AC 11 ms
6,060 KB
testcase_02 AC 159 ms
37,756 KB
testcase_03 AC 73 ms
18,432 KB
testcase_04 AC 93 ms
24,040 KB
testcase_05 AC 133 ms
32,548 KB
testcase_06 AC 153 ms
36,088 KB
testcase_07 AC 100 ms
25,404 KB
testcase_08 AC 75 ms
19,700 KB
testcase_09 AC 142 ms
34,848 KB
testcase_10 AC 95 ms
24,272 KB
testcase_11 AC 31 ms
9,980 KB
testcase_12 AC 56 ms
15,564 KB
testcase_13 AC 149 ms
35,840 KB
testcase_14 AC 69 ms
18,112 KB
testcase_15 AC 121 ms
29,960 KB
testcase_16 AC 31 ms
9,944 KB
testcase_17 AC 77 ms
19,784 KB
testcase_18 AC 126 ms
30,916 KB
testcase_19 AC 147 ms
35,676 KB
testcase_20 AC 146 ms
35,208 KB
testcase_21 AC 75 ms
19,264 KB
testcase_22 AC 112 ms
27,632 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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