結果
| 問題 | 
                            No.306 さいたま2008
                             | 
                    
| コンテスト | |
| ユーザー | 
                             napppoli
                         | 
                    
| 提出日時 | 2015-11-27 22:45:01 | 
| 言語 | C++11(廃止可能性あり)  (gcc 13.3.0)  | 
                    
| 結果 | 
                             
                                WA
                                 
                             
                            
                         | 
                    
| 実行時間 | - | 
| コード長 | 227 bytes | 
| コンパイル時間 | 726 ms | 
| コンパイル使用メモリ | 63,356 KB | 
| 実行使用メモリ | 6,948 KB | 
| 最終ジャッジ日時 | 2024-09-14 00:09:50 | 
| 合計ジャッジ時間 | 1,484 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge4 / judge3 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | AC * 21 WA * 2 | 
ソースコード
#include<iostream>
#include<iomanip>
#include<vector>
#include<string>
using namespace std;
int main(){
  int x1,x2,y1,y2;
  double y;
  cin>>x1>>y1>>x2>>y2;
  y=(double)(x1*y2+x2*y1)/(x1+x2);
  cout<<y<<endl;
  return 0;
}
            
            
            
        
            
napppoli