結果

問題 No.221 犯罪都市
ユーザー mkawa2
提出日時 2020-01-23 16:17:47
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 415 bytes
コンパイル時間 1,468 ms
コンパイル使用メモリ 165,008 KB
実行使用メモリ 5,376 KB
最終ジャッジ日時 2024-07-19 08:27:28
合計ジャッジ時間 2,153 ms
ジャッジサーバーID
(参考情報)
judge2 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 1 WA * 15
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (n); i++)
using ll = long long;
using vll = vector<ll>;
using vi = vector<int>;
using vvi = vector<vector<int>>;
using vvll = vector<vector<ll>>;
const ll inf = 1e16;
const ll md = 1000000007;

int main() {
  double n;
  cin>>n;
  int c=1e6;
  double nog=(c-n)/100;
  double gul=n*99/100;
  cout<<nog/(nog+gul)<<endl;
  return 0;
}
0