結果
| 問題 |
No.379 五円硬貨
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2017-11-23 22:58:10 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 1,000 ms |
| コード長 | 410 bytes |
| コンパイル時間 | 1,391 ms |
| コンパイル使用メモリ | 166,632 KB |
| 実行使用メモリ | 6,820 KB |
| 最終ジャッジ日時 | 2024-11-27 05:58:47 |
| 合計ジャッジ時間 | 2,214 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 16 |
ソースコード
#include <bits/stdc++.h>
#define FOR(i,a,b) for(int i = (a); i < (b); ++i)
#define REP(i,n) FOR(i,0,n)
#define SZ(n) (int)(n).size()
#define ALL(n) (n).begin(), (n).end()
#define MOD % 1000000007
using namespace std;
typedef long long LL;
typedef vector<int> VI;
int main() {
double n, g, v;
cin >> n >> g >> v;
LL ans = floor(n / 5) * g;
cout << setprecision(12) << fixed << ans / v << endl;
return 0;
}