結果

問題 No.1180 無限和
ユーザー SSRS
提出日時 2020-08-21 22:29:54
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 2 ms / 1,000 ms
コード長 159 bytes
コンパイル時間 1,498 ms
コンパイル使用メモリ 166,296 KB
実行使用メモリ 6,820 KB
最終ジャッジ日時 2024-10-15 06:15:38
合計ジャッジ時間 2,598 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1
other AC * 40
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>
using namespace std;
const double PI = acos(-1);
int main(){
  int n;
  cin >> n;
  cout << (int) (pow(PI * PI / 6, n) / n) << endl;
}
0