結果
| 問題 |
No.73 helloworld
|
| コンテスト | |
| ユーザー |
kutsutama
|
| 提出日時 | 2018-12-18 02:00:28 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
AC
|
| 実行時間 | 34 ms / 5,000 ms |
| コード長 | 395 bytes |
| コンパイル時間 | 88 ms |
| コンパイル使用メモリ | 12,672 KB |
| 実行使用メモリ | 10,880 KB |
| 最終ジャッジ日時 | 2024-07-01 06:00:12 |
| 合計ジャッジ時間 | 1,166 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 14 |
ソースコード
c = [0] * 27
for i in range(1, 27):
c[i] = int(input())
res = c[4] * c[5] * c[8] * (c[15] // 2) * (c[15] - c[15] // 2) * c[18] * c[23]
if c[12] >= 3:
comb_max = 0
for l_world in range(1, c[12] - 2 + 1):
l_hello = c[12] - l_world
comb = (l_hello * (l_hello - 1) // 2) * l_world
comb_max = max(comb, comb_max)
res *= comb_max
else:
res = 0
print(res)
kutsutama