結果
問題 | No.926 休日の平均 |
ユーザー |
![]() |
提出日時 | 2019-11-22 23:43:20 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 602 bytes |
コンパイル時間 | 1,601 ms |
コンパイル使用メモリ | 164,184 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-10-11 06:27:41 |
合計ジャッジ時間 | 2,383 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 24 |
ソースコード
#define _USE_MATH_DEFINES#include <bits/stdc++.h>using namespace std;//template#define rep(i,a,b) for(int i=(a);i<(b);i++)#define rrep(i,a,b) for(int i=(a);i>(b);i--)#define ALL(v) (v).begin(),(v).end()typedef long long int ll; const int inf = 0x3fffffff; const ll INF = 0x3fffffffffffffff;template<class T> inline bool chmax(T& a,T b){ if(a<b){a=b;return 1;}return 0; }template<class T> inline bool chmin(T& a,T b){ if(a>b){a=b;return 1;}return 0; }//template endint main(){int a,b,c; scanf("%d%d%d",&a,&b,&c);double ans=(a*c)*1.0/b;printf("%.12f\n",ans);return 0;}