結果

問題 No.306 さいたま2008
ユーザー Lay_ec
提出日時 2015-11-27 22:56:58
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
WA  
実行時間 -
コード長 386 bytes
コンパイル時間 793 ms
コンパイル使用メモリ 79,436 KB
実行使用メモリ 6,944 KB
最終ジャッジ日時 2024-09-14 00:16:42
合計ジャッジ時間 1,535 ms
ジャッジサーバーID
(参考情報)
judge1 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 21 WA * 2
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
#include <string>
#include <vector>
#include <cmath>
#include <algorithm>
#include <cstdlib>
#include <ctime>
#include <cstdio>
#include <functional>
#include <set>
#include <sstream>
#include <map>
#include <queue>
#include <stack>

using namespace std;

int main(){


    double a,b,c,d;
    cin>>a>>b>>c>>d;
    
    cout<<(a*d+b*c)/(a+c)<<endl;

    return 0;

}
0