結果
問題 | No.221 犯罪都市 |
ユーザー |
|
提出日時 | 2019-08-09 01:20:01 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 5,000 ms |
コード長 | 222 bytes |
コンパイル時間 | 2,082 ms |
コンパイル使用メモリ | 193,008 KB |
最終ジャッジ日時 | 2025-01-07 11:04:36 |
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 16 |
ソースコード
#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)*100<<endl; return 0; }