結果
問題 |
No.379 五円硬貨
|
ユーザー |
|
提出日時 | 2016-06-24 02:05:30 |
言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 424 bytes |
コンパイル時間 | 1,259 ms |
コンパイル使用メモリ | 158,048 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-10-11 20:05:55 |
合計ジャッジ時間 | 1,989 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | WA * 2 |
other | WA * 16 |
ソースコード
#include <bits/stdc++.h> using namespace std; #define REP(i,n) for(int i=0;i<n;++i) #define FOR(i,a,b) for(int i=a;i<b;++i) #define RFOR(i,a,b) for(int i=b-1;i>=a;--i) #define ALL(x) (x).begin(), (x).end() #define ull unsigned long long #define ll long long signed main(void){ cout << fixed << setprecision(15) << endl; double N,G,V; cin >> N >> G >> V; int count = (N/5); cout << (count*G)/V << endl; return 0; }