結果

問題 No.379 五円硬貨
ユーザー test
提出日時 2020-09-19 14:00:26
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 3 ms / 1,000 ms
コード長 283 bytes
コンパイル時間 1,770 ms
コンパイル使用メモリ 192,956 KB
最終ジャッジ日時 2025-01-14 18:43:48
ジャッジサーバーID
(参考情報)
judge5 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 16
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>
using namespace std;
long long n, g, v;
void input() { cin >> n >> g >> v; }
void solve() { cout << (int(n / 5)) * (1.0 * g) / v << endl; }
int main() {
  ios::sync_with_stdio(false);
  cin.tie(0);
  cout << fixed << setprecision(15);
  input();
  solve();
}
0