結果

問題 No.379 五円硬貨
ユーザー Rittai_3D
提出日時 2016-10-03 14:34:37
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 274 bytes
コンパイル時間 1,511 ms
コンパイル使用メモリ 165,328 KB
実行使用メモリ 6,824 KB
最終ジャッジ日時 2024-11-21 15:12:47
合計ジャッジ時間 2,245 ms
ジャッジサーバーID
(参考情報)
judge4 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1 WA * 1
other AC * 6 WA * 10
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>
using namespace std;
using pint = pair< int, int >;

int main()
{
    int n = 0, g = 0, v = 0;
    cin >> n >> g >> v;
    long double goen = n / 5.0;
    long double gas = goen * g;
    cout << fixed << setprecision( 12 ) << ( gas / v ) << endl;
}
0