結果

問題 No.221 犯罪都市
ユーザー aaaaaaiu
提出日時 2019-08-09 01:17:36
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 218 bytes
コンパイル時間 2,265 ms
コンパイル使用メモリ 193,120 KB
最終ジャッジ日時 2025-01-07 11:04:28
ジャッジサーバーID
(参考情報)
judge2 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 1 WA * 15
権限があれば一括ダウンロードができます

ソースコード

diff #

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

int main() {
    int n;
    cin>>n;
    int i=10000-n;
    double ai=i*0.01;
    double ac=n*0.99;
    cout<<fixed<<ai/(ai+ac)<<endl;
    return 0;
}
0