結果

問題 No.169 何分かかるの!?
ユーザー ut0s
提出日時 2019-09-05 07:24:36
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 2 ms / 1,000 ms
コード長 429 bytes
コンパイル時間 1,731 ms
コンパイル使用メモリ 166,016 KB
実行使用メモリ 6,820 KB
最終ジャッジ日時 2024-12-31 13:58:13
合計ジャッジ時間 2,641 ms
ジャッジサーバーID
(参考情報)
judge5 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 22
権限があれば一括ダウンロードができます

ソースコード

diff #

/**
  @file 169.cpp
  @title  No.169 何分かかるの!? - yukicoder
  @url https://yukicoder.me/problems/no/169
**/

#include <bits/stdc++.h>
using namespace std;

typedef long long LL;
#define ALL(obj) (obj).begin(), (obj).end()
#define REP(i, N) for (int i = 0; i < (N); ++i)

int main() {
  int K;
  LL S;
  cin >> K >> S;

  cout << fixed<<setprecision(0)<<floor(100.0 * S / (100.0 - (double)K)) << endl;
  return 0;
}
0