結果
問題 | No.379 五円硬貨 |
ユーザー |
![]() |
提出日時 | 2020-09-02 00:38:59 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 4 ms / 1,000 ms |
コード長 | 261 bytes |
コンパイル時間 | 2,281 ms |
コンパイル使用メモリ | 191,560 KB |
最終ジャッジ日時 | 2025-01-14 03:23:13 |
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 16 |
ソースコード
#include <bits/stdc++.h> using namespace std; int main() { ios::sync_with_stdio(false); cin.tie(nullptr); int N, G, V; cin >> N >> G >> V; long double x = (long double)(N / 5) * G; cout << fixed << setprecision(12) << x / V << '\n'; return 0; }