結果
問題 |
No.1539 不可欠な部分
|
ユーザー |
![]() |
提出日時 | 2021-08-14 19:35:39 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 462 ms / 2,000 ms |
コード長 | 330 bytes |
コンパイル時間 | 1,454 ms |
コンパイル使用メモリ | 167,048 KB |
実行使用メモリ | 6,820 KB |
最終ジャッジ日時 | 2024-10-05 18:18:47 |
合計ジャッジ時間 | 25,268 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 20 |
ソースコード
#include <bits/stdc++.h> using namespace std; int main(){ int T; cin>>T; for(int i=0;i<T;i++){ double N; cin>>N; double e=exp(1); double π=asin(1)*2; double a=1/e/π/π/N; printf("%.10f", N*e*(a-a*a*a/6+a*a*a*a*a/30-31*pow(a,7)/5040)); cout<<endl; } }