結果
問題 | No.73 helloworld |
ユーザー |
![]() |
提出日時 | 2020-08-19 19:09:53 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 42 ms / 5,000 ms |
コード長 | 592 bytes |
コンパイル時間 | 307 ms |
コンパイル使用メモリ | 82,428 KB |
実行使用メモリ | 55,324 KB |
最終ジャッジ日時 | 2024-10-12 05:14:18 |
合計ジャッジ時間 | 1,587 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 14 |
ソースコード
import sys; input = sys.stdin.buffer.readline sys.setrecursionlimit(10**7) from collections import defaultdict con = 10 ** 9 + 7; INF = float("inf") def getlist(): return list(map(int, input().split())) #処理内容 def main(): L = [] for i in range(26): a = int(input()) L.append(a) h = L[7] e = L[4] w = L[22] r = L[17] d = L[3] ans = h * e * w * r * d l = L[11] o = L[14] lmax = 0 omax = 0 for i in range(1, 101): lmax = max(lmax, int(i * (i - 1) * (l - i) // 2)) omax = max(omax, i * (o - i)) ans *= lmax * omax print(ans) if __name__ == '__main__': main()