結果

問題 No.73 helloworld
ユーザー H3PO4H3PO4
提出日時 2020-04-24 13:36:51
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
RE  
実行時間 -
コード長 283 bytes
コンパイル時間 242 ms
コンパイル使用メモリ 12,800 KB
実行使用メモリ 10,880 KB
最終ジャッジ日時 2024-04-23 02:28:09
合計ジャッジ時間 1,424 ms
ジャッジサーバーID
(参考情報)
judge1 / judge2
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 32 ms
10,752 KB
testcase_01 AC 31 ms
10,752 KB
testcase_02 AC 31 ms
10,752 KB
testcase_03 RE -
testcase_04 AC 33 ms
10,880 KB
testcase_05 AC 31 ms
10,752 KB
testcase_06 AC 31 ms
10,752 KB
testcase_07 AC 33 ms
10,752 KB
testcase_08 AC 32 ms
10,752 KB
testcase_09 AC 30 ms
10,752 KB
testcase_10 AC 31 ms
10,880 KB
testcase_11 AC 31 ms
10,752 KB
testcase_12 RE -
testcase_13 RE -
権限があれば一括ダウンロードができます

ソースコード

diff #

D = {chr(97 + i): int(input()) for i in range(26)}

nC2 = lambda n: n * (n - 1) // 2

h = D['h']
e = D['e']
l = max(nC2(i) * (D['l'] - i) for i in range(2, D['l']))
o = max(i * (D['o'] - i) for i in range(1, D['o']))
w = D['w']
r = D['r']
d = D['d']
print(h * e * l * o * w * r * d)
0