結果
問題 | No.926 休日の平均 |
ユーザー |
|
提出日時 | 2020-04-08 10:21:50 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 8 ms / 2,000 ms |
コード長 | 342 bytes |
コンパイル時間 | 1,126 ms |
コンパイル使用メモリ | 71,788 KB |
最終ジャッジ日時 | 2025-01-09 15:06:51 |
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 24 |
ソースコード
#include <iostream> #include <iomanip> using ldouble = long double; void solve() { ldouble a, b, c; std::cin >> a >> b >> c; std::cout << std::fixed << std::setprecision(10) << c / b * a << std::endl; } int main() { std::cin.tie(nullptr); std::ios::sync_with_stdio(false); solve(); return 0; }