結果
| 問題 |
No.73 helloworld
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2020-04-24 13:39:35 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
AC
|
| 実行時間 | 31 ms / 5,000 ms |
| コード長 | 299 bytes |
| コンパイル時間 | 95 ms |
| コンパイル使用メモリ | 12,544 KB |
| 実行使用メモリ | 10,752 KB |
| 最終ジャッジ日時 | 2024-10-15 01:49:50 |
| 合計ジャッジ時間 | 1,097 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 14 |
ソースコード
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([0] + [nC2(i) * (D['l'] - i) for i in range(2, D['l'])])
o = max([0] + [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)