結果
問題 | No.926 休日の平均 |
ユーザー |
|
提出日時 | 2020-10-04 22:08:17 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 23 ms / 2,000 ms |
コード長 | 419 bytes |
コンパイル時間 | 1,815 ms |
コンパイル使用メモリ | 193,092 KB |
最終ジャッジ日時 | 2025-01-15 02:45:58 |
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 24 |
ソースコード
#include<bits/stdc++.h> using namespace std; using ll = long long; using pii = pair<int, int>; using pll = pair<ll, ll>; #define endl "\n" #define rep(i, a, n) for (int i = a; i < n; ++i) #define all(x) (x).begin(), (x).end() int main() { ios::sync_with_stdio(false); cin.tie(0); int a, b, c; cin >> a >> b >> c; cout << fixed << setprecision(10) << (((double)c / b) * a) << endl; return 0; }