結果
| 問題 | No.306 さいたま2008 |
| コンテスト | |
| ユーザー |
ldsyb
|
| 提出日時 | 2016-03-08 00:54:46 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0 + boost 1.89.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 235 bytes |
| 記録 | |
| コンパイル時間 | 629 ms |
| コンパイル使用メモリ | 65,760 KB |
| 実行使用メモリ | 6,948 KB |
| 最終ジャッジ日時 | 2024-09-24 13:29:24 |
| 合計ジャッジ時間 | 1,276 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 7 WA * 16 |
ソースコード
#include <iostream>
#include <cmath>
#include <iomanip>
using namespace std;
int main(){
int ax,ay,bx,by;
cin >> ax >> ay >> bx >> by;
cout << setprecision(10) << abs(by - ay) * min(ax,bx) / (ax + bx) + min(ay,by) << endl;
}
ldsyb