結果
問題 |
No.379 五円硬貨
|
ユーザー |
![]() |
提出日時 | 2018-03-18 06:32:16 |
言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
結果 |
AC
|
実行時間 | 2 ms / 1,000 ms |
コード長 | 356 bytes |
コンパイル時間 | 3,307 ms |
コンパイル使用メモリ | 79,292 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-12-25 17:49:35 |
合計ジャッジ時間 | 2,328 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 16 |
ソースコード
#include<iostream> #include<string> #include<algorithm> #include<cmath> #include<iomanip> #include<cstring> #include<map> #include<vector> #include<queue> #include<climits> using namespace std; typedef long long int ll; int main(){ ll n, g, v; cin >> n >> g >> v; n/=5; n*=g; cout << setprecision(25) << (double)n/(double)v << endl; return 0; }