結果

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

ソースコード

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;
    double goen = n / 5;
    double gas = goen * g;
    cout << to_string( gas / v ) << endl;
}
0