結果
| 問題 |
No.2971 無理積分
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2024-11-30 03:28:27 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 200 bytes |
| コンパイル時間 | 172 ms |
| コンパイル使用メモリ | 12,416 KB |
| 実行使用メモリ | 69,704 KB |
| 最終ジャッジ日時 | 2024-11-30 03:29:27 |
| 合計ジャッジ時間 | 50,655 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | TLE * 36 |
ソースコード
# https://qiita.com/nuo_t/items/d3f61f55ef5ba689dab4
from scipy import integrate
n = int(input())
def f(x) :
return (x**3 + n**3)**0.5
ans,err = integrate.quad(f,0,1)
print('{:f}'.format(ans))