結果

問題 No.379 五円硬貨
ユーザー r2en_
提出日時 2017-07-11 19:57:38
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 262 bytes
コンパイル時間 530 ms
コンパイル使用メモリ 63,496 KB
実行使用メモリ 6,824 KB
最終ジャッジ日時 2024-10-07 15:05:56
合計ジャッジ時間 1,149 ms
ジャッジサーバーID
(参考情報)
judge4 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1 WA * 1
other AC * 10 WA * 6
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
using namespace std;
#define rep(i,n) for(int i = 0; i < (n); i++)
#define ll long long

int main(){
    ll n; cin >> n;
    ll g; cin >> g;
    ll v; cin >> v;
    ll res = 0;
    res = n / 5 * g / v;
    cout << res << endl;
    return 0;
}
0