結果
問題 | No.926 休日の平均 |
ユーザー |
|
提出日時 | 2019-11-22 21:21:58 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 965 bytes |
コンパイル時間 | 1,510 ms |
コンパイル使用メモリ | 165,992 KB |
実行使用メモリ | 6,820 KB |
最終ジャッジ日時 | 2024-10-11 02:43:21 |
合計ジャッジ時間 | 2,313 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 24 |
ソースコード
#include <bits/stdc++.h>using namespace std;#define FOR(i, m, n) for(int (i) = (m); (i) < (n); (i)++)#define FORN(i, m, n) for(int (i) = (m); (i) <= (n); (i)++)#define FORR(i, m, n) for(int (i) = (m); (i) >= (n); (i)--)#define rep(i, n) FOR(i, 0, n)#define repn(i, n) FORN(i, 1, n)#define repr(i, n) FORR(i, n, 0)#define repnr(i, n) FORR(i, n, 1)#define co(n) cout << (n) << endl#define cosp(n) cout << (n) << ' '#define setp(n) cout << fixed << setprecision(n);#define all(s) (s).begin(), (s).end()#define pb push_back#define mp make_pair#define fs first#define sc secondtypedef long long ll;typedef pair<ll, ll> P;typedef vector<ll> Vec;const ll INF = 1e9+1;const ll LINF = 1e18+1;const ll MOD = 1e9+7;//const ll MOD = 998244353;const double PI = acos(-1);const double EPS = 1e-9;int main(void){ll a, b, c;cin >> a >> b >> c;double ans = (double)a/b*c;setp(10);co(ans);return 0;}