結果
| 問題 |
No.379 五円硬貨
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2024-03-31 15:19:19 |
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 1,000 ms |
| コード長 | 293 bytes |
| コンパイル時間 | 3,875 ms |
| コンパイル使用メモリ | 251,400 KB |
| 最終ジャッジ日時 | 2025-02-20 17:50:10 |
|
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 16 |
ソースコード
#include <bits/stdc++.h>
#include <atcoder/all>
using namespace std;
using namespace atcoder;
using ll = long long;
using ld = long double;
ll N, G, V;
ld ans;
int main() {
cin >> N >> G >> V;
ans = ((ld)G * (N / 5)) / V;
cout << fixed << setprecision(15) << ans << endl;
return 0;
}