結果
問題 |
No.450 ベー君のシャトルラン
|
ユーザー |
![]() |
提出日時 | 2017-05-18 08:56:52 |
言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
結果 |
AC
|
実行時間 | 1 ms / 2,000 ms |
コード長 | 320 bytes |
コンパイル時間 | 867 ms |
コンパイル使用メモリ | 107,292 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-09-18 18:37:18 |
合計ジャッジ時間 | 1,328 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 20 |
ソースコード
#include <cstdio> #include <cstring> #include <cmath> #include <random> #include <vector> #include <algorithm> #include <array> #include <functional> #include <utility> #include <regex> using namespace std; int main(){ int v1,v2,d,w; -scanf("%d%d%d%d",&v1,&v2,&d,&w); printf("%.32lf\n",1.0*w*d/(v1+v2)); return 0; }