結果
| 問題 |
No.73 helloworld
|
| コンテスト | |
| ユーザー |
kutsutama
|
| 提出日時 | 2018-12-18 01:55:58 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 387 bytes |
| コンパイル時間 | 97 ms |
| コンパイル使用メモリ | 12,544 KB |
| 実行使用メモリ | 10,880 KB |
| 最終ジャッジ日時 | 2024-09-25 07:39:20 |
| 合計ジャッジ時間 | 1,257 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 6 WA * 8 |
ソースコード
c = [0] * 27
for i in range(1, 27):
c[i] = int(input())
res = c[4] * c[5] * (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