結果

問題 No.903 太郎の確率
ユーザー evawenis
提出日時 2020-06-24 20:20:58
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 2 ms / 2,000 ms
コード長 163 bytes
コンパイル時間 1,974 ms
コンパイル使用メモリ 192,496 KB
最終ジャッジ日時 2025-01-11 09:54:15
ジャッジサーバーID
(参考情報)
judge3 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 5
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<bits/stdc++.h>
using namespace std;

int main(){
	cin.tie(0),ios::sync_with_stdio(false);
	int n; cin>>n;
	cout<<fixed<<setprecision(12)<<1.0L/n<<"\n"s;
}
0