結果

問題 No.1076 寿司打
ユーザー kpinkcatkpinkcat
提出日時 2023-08-26 18:58:43
言語 C++17(gcc12)
(gcc 12.3.0 + boost 1.87.0)
結果
AC  
実行時間 3 ms / 2,000 ms
コード長 238 bytes
コンパイル時間 1,345 ms
コンパイル使用メモリ 101,168 KB
実行使用メモリ 5,248 KB
最終ジャッジ日時 2024-12-25 20:03:29
合計ジャッジ時間 2,298 ms
ジャッジサーバーID
(参考情報)
judge2 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 10
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<iostream>
#include<map>
#include<vector>
#include <algorithm>
#include<math.h>
#include <iomanip>
#include<set>
#include <numeric>
using namespace std;


int main()
{
    double p;
    cin >> p;
    cout << p*1./(1-p) << endl;
}
0