結果
| 問題 |
No.1272 珍しい級数
|
| コンテスト | |
| ユーザー |
ytft
|
| 提出日時 | 2021-05-16 07:25:49 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 2,000 ms |
| コード長 | 272 bytes |
| コンパイル時間 | 3,090 ms |
| コンパイル使用メモリ | 335,424 KB |
| 実行使用メモリ | 6,820 KB |
| 最終ジャッジ日時 | 2024-10-04 08:11:04 |
| 合計ジャッジ時間 | 4,867 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 50 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
#include <boost/multiprecision/cpp_int.hpp>
typedef boost::multiprecision::cpp_int mp;
int main(){
double k,ans=0;
cin>>k;
for(double i=1;i<100;i++){
ans+=sin(k*i)/pow(i,i);
}
printf("%.8f",ans);
}
ytft