結果
問題 | No.73 helloworld |
ユーザー |
|
提出日時 | 2020-04-24 13:36:51 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
RE
|
実行時間 | - |
コード長 | 283 bytes |
コンパイル時間 | 145 ms |
コンパイル使用メモリ | 12,416 KB |
実行使用メモリ | 10,752 KB |
最終ジャッジ日時 | 2024-10-15 01:49:49 |
合計ジャッジ時間 | 1,382 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 11 RE * 3 |
ソースコード
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)