結果
問題 |
No.379 五円硬貨
|
ユーザー |
|
提出日時 | 2021-10-02 14:17:55 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 1,000 ms |
コード長 | 348 bytes |
コンパイル時間 | 2,454 ms |
コンパイル使用メモリ | 185,784 KB |
実行使用メモリ | 5,376 KB |
最終ジャッジ日時 | 2024-07-20 07:53:47 |
合計ジャッジ時間 | 2,885 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 16 |
ソースコード
#define _GLIBCXX_DEBUG #define ll long long #define INF 1000000000; #define INF_B 1000000000000000000; #include <bits/stdc++.h> using namespace std; using Graph = vector<vector<int>>; int main(){ ll N, G, V; cin >> N >> G >> V; N /= 5; ll NG = N*G; double ans = (double)NG / V; cout << fixed << setprecision(15); cout << ans << endl; }