結果
| 問題 |
No.221 犯罪都市
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2020-07-19 00:08:08 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 5,000 ms |
| コード長 | 257 bytes |
| コンパイル時間 | 1,502 ms |
| コンパイル使用メモリ | 167,104 KB |
| 実行使用メモリ | 6,820 KB |
| 最終ジャッジ日時 | 2024-12-14 14:23:17 |
| 合計ジャッジ時間 | 2,247 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 16 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
#define rep(i,n) for(int i=0; i<(n); i++)
#define fx(x) fixed<<setprecision(x)
int main(){
int n; cin>>n;
double ans=((1000000-n*100)*0.01)/(n*100*0.99+(1000000-n*100)*0.01);
cout<<fx(14)<<ans*100<<endl;
}