結果
問題 |
No.221 犯罪都市
|
ユーザー |
|
提出日時 | 2016-12-06 00:12:36 |
言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
結果 |
AC
|
実行時間 | 2 ms / 5,000 ms |
コード長 | 461 bytes |
コンパイル時間 | 660 ms |
コンパイル使用メモリ | 82,616 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-12-25 11:54:48 |
合計ジャッジ時間 | 1,285 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 16 |
ソースコード
#define _USE_MATH_DEFINES #include<stdio.h> #include<string> #include<iostream> #include<cctype> #include<cstdio> #include<vector> #include<stack> #include<queue> #include <algorithm> #include<math.h> #include<set> #include<map> #include<iomanip> //#include<bits/stdc++.h> using namespace std; int gcd(int x,int y){ return y?gcd(y,x%y):x; } int main(){ double n; cin>>n; cout<<100*(10000-n)*0.01/((10000-n)*0.01+0.99*n)<<endl; return 0; }