結果
問題 | No.73 helloworld |
ユーザー | 双六 |
提出日時 | 2020-08-19 19:09:53 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 41 ms / 5,000 ms |
コード長 | 592 bytes |
コンパイル時間 | 249 ms |
コンパイル使用メモリ | 82,304 KB |
実行使用メモリ | 54,144 KB |
最終ジャッジ日時 | 2024-04-20 09:48:45 |
合計ジャッジ時間 | 1,640 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 40 ms
53,600 KB |
testcase_01 | AC | 40 ms
54,144 KB |
testcase_02 | AC | 39 ms
53,504 KB |
testcase_03 | AC | 39 ms
53,888 KB |
testcase_04 | AC | 40 ms
53,376 KB |
testcase_05 | AC | 37 ms
53,888 KB |
testcase_06 | AC | 38 ms
53,632 KB |
testcase_07 | AC | 39 ms
53,376 KB |
testcase_08 | AC | 37 ms
53,376 KB |
testcase_09 | AC | 41 ms
53,632 KB |
testcase_10 | AC | 38 ms
53,632 KB |
testcase_11 | AC | 38 ms
54,016 KB |
testcase_12 | AC | 37 ms
53,888 KB |
testcase_13 | AC | 37 ms
54,016 KB |
ソースコード
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()