結果

問題 No.221 犯罪都市
ユーザー kyo1
提出日時 2020-12-13 23:34:15
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 4 ms / 5,000 ms
コード長 258 bytes
コンパイル時間 2,086 ms
コンパイル使用メモリ 191,272 KB
最終ジャッジ日時 2025-01-17 00:11:28
ジャッジサーバーID
(参考情報)
judge5 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 16
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>

using namespace std;

int main() {
  ios::sync_with_stdio(false);
  cin.tie(nullptr);
  int N;
  cin >> N;
  cout << fixed << setprecision(10) << static_cast<double>(10000 - N) / (10000 + 98 * N) * 100
       << '\n';
  return 0;
}
0