結果
問題 | No.1076 寿司打 |
ユーザー |
|
提出日時 | 2020-06-23 20:41:04 |
言語 | C++17(clang) (17.0.6 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 265 bytes |
コンパイル時間 | 830 ms |
コンパイル使用メモリ | 128,236 KB |
実行使用メモリ | 6,820 KB |
最終ジャッジ日時 | 2024-11-30 18:42:08 |
合計ジャッジ時間 | 1,404 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 10 |
ソースコード
#include <iostream>#include <vector>#include <string>#include <utility>#include <algorithm>#include <climits>using namespace std;int main() {double p;cin >> p;cout << p / (1-p) << endl;}/*e = p + pee - pe = pe(1-p) = pe = p / (1-p)*/