結果
| 問題 | No.2970 三次関数の絶対値 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2024-11-29 21:26:09 |
| 言語 | PyPy3 (7.3.23 + ACL) |
| 結果 |
TLE
不安定
|
| 実行時間 | - |
| コード長 | 470 bytes |
| 記録 | |
| コンパイル時間 | 63 ms |
| コンパイル使用メモリ | 82,632 KB |
| 実行使用メモリ | 88,440 KB |
| 最終ジャッジ日時 | 2026-10-02 04:52:15 |
| 合計ジャッジ時間 | 39,988 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 47 TLE * 3 |
ソースコード
import collections,sys,math,functools,operator,itertools,bisect,heapq,decimal,string,time,random
#sys.setrecursionlimit(10**9)
#sys.set_int_max_str_digits(0)
#input = sys.stdin.readline
#n = int(input())
#alist = list(map(int,input().split()))
#alist = []
#s = input()
c = list(map(int,input().split()))
l,r = map(int,input().split())
ans = 10**18
for i in range(l*10**6,r*10**6+1):
j = i / 10**6
ans = min(ans,abs(sum(c[k] * j**k for k in range(4))))
print(ans)