結果
| 問題 |
No.306 さいたま2008
|
| コンテスト | |
| ユーザー |
Lay_ec
|
| 提出日時 | 2015-11-27 23:18:51 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 2,000 ms |
| コード長 | 406 bytes |
| コンパイル時間 | 616 ms |
| コンパイル使用メモリ | 85,520 KB |
| 実行使用メモリ | 6,820 KB |
| 最終ジャッジ日時 | 2025-02-14 12:10:07 |
| 合計ジャッジ時間 | 1,481 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 26 |
ソースコード
#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>
#include <iomanip>
using namespace std;
int main(){
int a,b,c,d;
cin>>a>>b>>c>>d;
printf("%.8f\n",1.0*(a*d+b*c)/(a+c));
return 0;
}
Lay_ec