結果
問題 |
No.903 太郎の確率
|
ユーザー |
|
提出日時 | 2021-12-04 00:00:05 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 310 bytes |
コンパイル時間 | 4,024 ms |
コンパイル使用メモリ | 251,736 KB |
最終ジャッジ日時 | 2025-01-26 03:13:08 |
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 5 |
ソースコード
#include <bits/stdc++.h> using namespace std; #include <atcoder/all> using namespace atcoder; #define ll long long #define rep(i, n) for (int i = 0; i < (n); i++) #define P pair<int, int> #define LP pair<ll, ll> int main() { double n; cin >> n; cout << fixed << setprecision(10) << 1/n << endl; }