結果

問題 No.903 太郎の確率
ユーザー skentagonskentagon
提出日時 2019-10-11 22:42:40
言語 C++11
(gcc 13.3.0)
結果
AC  
実行時間 2 ms / 2,000 ms
コード長 173 bytes
コンパイル時間 468 ms
コンパイル使用メモリ 62,024 KB
実行使用メモリ 6,820 KB
最終ジャッジ日時 2024-11-25 08:35:27
合計ジャッジ時間 893 ms
ジャッジサーバーID
(参考情報)
judge1 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 5
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
#include <iomanip>

int main(){
  int n;
  std::cin >> n;
  std::cout << std::fixed << std::setprecision(7) << static_cast<float>(1.0/n) << std::endl;
}
0