結果
問題 | No.903 太郎の確率 |
ユーザー |
|
提出日時 | 2019-10-11 22:43:23 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 271 bytes |
コンパイル時間 | 800 ms |
コンパイル使用メモリ | 92,528 KB |
実行使用メモリ | 6,820 KB |
最終ジャッジ日時 | 2024-11-25 08:37:22 |
合計ジャッジ時間 | 1,275 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 5 |
ソースコード
#include<iostream>#include<algorithm>#include<cmath>#include<iomanip>#include<set>#include<map>#include<queue>using namespace std;typedef long long ll;const int MOD=1e9+7;int main() {double n;cin >> n;cout << fixed << setprecision(10) << 1/n << endl;}