結果

問題 No.221 犯罪都市
ユーザー beet
提出日時 2018-08-06 16:50:19
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 2 ms / 5,000 ms
コード長 335 bytes
コンパイル時間 1,775 ms
コンパイル使用メモリ 165,768 KB
実行使用メモリ 5,376 KB
最終ジャッジ日時 2024-09-19 18:15:52
合計ジャッジ時間 2,035 ms
ジャッジサーバーID
(参考情報)
judge1 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 16
権限があれば一括ダウンロードができます

ソースコード

diff #

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

struct Precision{
  Precision(){
    cout<<fixed<<setprecision(12);
  }
}precision_beet;

//INSERT ABOVE HERE
signed main(){
  double n;
  cin>>n;
  double AB=(10000-n)/10000*0.01;
  double A =(10000-n)/10000*0.01+n/10000*0.99;
  cout<<AB/A*100<<endl;
  return 0;
}
0