結果
問題 |
No.73 helloworld
|
ユーザー |
![]() |
提出日時 | 2025-07-24 21:03:48 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 32 ms / 5,000 ms |
コード長 | 294 bytes |
コンパイル時間 | 585 ms |
コンパイル使用メモリ | 12,032 KB |
実行使用メモリ | 10,496 KB |
最終ジャッジ日時 | 2025-07-24 21:03:50 |
合計ジャッジ時間 | 1,817 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 14 |
ソースコード
cnt = [] for i in range(26): cnt.append(int(input())) ans = 1 for i in [3, 4, 7, 17, 22]: ans *= cnt[i] o1 = cnt[14] // 2 o2 = cnt[14] - o1 ans *= o1 * o2 l = 0 for i in range(cnt[11]): l1 = cnt[11] - i l2 = i * (i - 1) l = max(l, l1 * l2 // 2) ans *= l print(ans)