結果

問題 No.221 犯罪都市
ユーザー tetsuzuki1115
提出日時 2017-09-29 09:18:04
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
AC  
実行時間 2 ms / 5,000 ms
コード長 452 bytes
コンパイル時間 723 ms
コンパイル使用メモリ 77,480 KB
実行使用メモリ 5,248 KB
最終ジャッジ日時 2024-12-25 15:04:52
合計ジャッジ時間 1,502 ms
ジャッジサーバーID
(参考情報)
judge2 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 16
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
#include <vector>
#include <string>
#include <cstring>
#include <math.h>
#include <cmath>
#include <limits.h>
#include <map>
#include <set>
#include <queue>
#include <algorithm>
#include <functional>
#include <stdio.h>
using namespace std;

long long MOD = 1000000007;

int main() {
    
    double N;
    cin >> N;
    
    double A = 10000 - N;
    double B= 99*N;
    
    printf( "%f", A*100 / (A+B) );
    
    
    return 0;
}
0