結果
問題 | No.221 犯罪都市 |
ユーザー |
![]() |
提出日時 | 2020-01-23 16:21:00 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 5,000 ms |
コード長 | 419 bytes |
コンパイル時間 | 1,337 ms |
コンパイル使用メモリ | 164,920 KB |
実行使用メモリ | 5,376 KB |
最終ジャッジ日時 | 2024-07-19 08:31:40 |
合計ジャッジ時間 | 2,073 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 16 |
ソースコード
#include <bits/stdc++.h> using namespace std; #define rep(i, n) for (int i = 0; i < (n); i++) using ll = long long; using vll = vector<ll>; using vi = vector<int>; using vvi = vector<vector<int>>; using vvll = vector<vector<ll>>; const ll inf = 1e16; const ll md = 1000000007; int main() { double n; cin>>n; int c=1e4; double nog=(c-n)/100; double gul=n*99/100; cout<<nog*100/(nog+gul)<<endl; return 0; }