結果
| 問題 | No.304 鍵(1) |
| コンテスト | |
| ユーザー |
napppoli
|
| 提出日時 | 2015-11-27 22:59:24 |
| 言語 | C++11 (gcc 15.2.0 + boost 1.89.0) |
| 結果 |
TLE
(最新)
AC
(最初)
|
| 実行時間 | - |
| コード長 | 251 bytes |
| 記録 | |
| コンパイル時間 | 419 ms |
| コンパイル使用メモリ | 82,048 KB |
| 実行使用メモリ | 57,484 KB |
| 最終ジャッジ日時 | 2026-03-31 10:59:25 |
| 合計ジャッジ時間 | 6,735 ms |
|
ジャッジサーバーID (参考情報) |
judge2_1 / judge2_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | TLE * 1 -- * 5 |
ソースコード
#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<<fixed<<setprecision(6)<<y<<endl;
return 0;
}
napppoli