結果
| 問題 | 
                            No.1076 寿司打
                             | 
                    
| コンテスト | |
| ユーザー | 
                             🍮かんプリン
                         | 
                    
| 提出日時 | 2020-06-12 23:24:49 | 
| 言語 | C++11(廃止可能性あり)  (gcc 13.3.0)  | 
                    
| 結果 | 
                             
                                AC
                                 
                             
                            
                         | 
                    
| 実行時間 | 2 ms / 2,000 ms | 
| コード長 | 242 bytes | 
| コンパイル時間 | 1,196 ms | 
| コンパイル使用メモリ | 158,528 KB | 
| 実行使用メモリ | 6,944 KB | 
| 最終ジャッジ日時 | 2024-06-24 06:01:58 | 
| 合計ジャッジ時間 | 1,817 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge4 / judge2 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 3 | 
| other | AC * 10 | 
ソースコード
/**
 *   @FileName	a.cpp
 *   @Author	kanpurin
 *   @Created	2020.06.12 23:24:44
**/
#include "bits/stdc++.h" 
using namespace std; 
typedef long long ll;
int main() {
    double p; cin >> p;
    printf("%.10f\n",1/(1-p)-1);
    return 0;
}
            
            
            
        
            
🍮かんプリン