結果

問題 No.221 犯罪都市
ユーザー CleyLCleyL
提出日時 2020-02-11 11:17:14
言語 C++14
(gcc 12.3.0 + boost 1.83.0)
結果
WA  
実行時間 -
コード長 218 bytes
コンパイル時間 573 ms
コンパイル使用メモリ 68,884 KB
実行使用メモリ 6,676 KB
最終ジャッジ日時 2024-04-08 14:32:54
合計ジャッジ時間 1,249 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 2 ms
6,676 KB
testcase_01 AC 2 ms
6,676 KB
testcase_02 AC 2 ms
6,676 KB
testcase_03 AC 2 ms
6,676 KB
testcase_04 AC 2 ms
6,676 KB
testcase_05 AC 2 ms
6,676 KB
testcase_06 AC 2 ms
6,676 KB
testcase_07 AC 2 ms
6,676 KB
testcase_08 AC 2 ms
6,676 KB
testcase_09 AC 2 ms
6,676 KB
testcase_10 WA -
testcase_11 WA -
testcase_12 WA -
testcase_13 WA -
testcase_14 WA -
testcase_15 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
#include <iomanip>
using namespace std;
int main(){
    int n;cin>>n;
    double y = n*99/100;
    double z = (10000-n)/100;
    cout << fixed << setprecision(10) << (double)(z/(y+z))*100 << endl;
}
0