結果
問題 | No.881 sin(x)/xの和 |
ユーザー |
![]() |
提出日時 | 2019-09-29 11:25:00 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 254 bytes |
コンパイル時間 | 407 ms |
コンパイル使用メモリ | 64,352 KB |
実行使用メモリ | 6,824 KB |
最終ジャッジ日時 | 2024-10-03 04:25:43 |
合計ジャッジ時間 | 1,306 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 3 WA * 20 |
ソースコード
#include <iostream>using namespace std;int main() {int n; cin >> n;double ans = 0.;double x, a;for (int i = n; i--;) {cin >> x >> a;ans += a;}cout << ans * 3.14159265358979323846264338327950288 << "\n";}