結果

問題 No.221 犯罪都市
ユーザー face4
提出日時 2018-05-05 12:46:44
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 2 ms / 5,000 ms
コード長 171 bytes
コンパイル時間 468 ms
コンパイル使用メモリ 64,464 KB
実行使用メモリ 6,944 KB
最終ジャッジ日時 2024-06-28 01:41:49
合計ジャッジ時間 1,251 ms
ジャッジサーバーID
(参考情報)
judge3 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 16
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<iostream>
using namespace std;

int main(){
    int n;
    cin >> n;
    double ans = (10000.0-n)*100.0/(10000.0+98.0*n);
    cout << ans << endl;
    return 0;
}
0