結果
| 問題 |
No.306 さいたま2008
|
| コンテスト | |
| ユーザー |
ldsyb
|
| 提出日時 | 2016-03-08 00:59:38 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 2,000 ms |
| コード長 | 202 bytes |
| コンパイル時間 | 727 ms |
| コンパイル使用メモリ | 61,204 KB |
| 実行使用メモリ | 6,820 KB |
| 最終ジャッジ日時 | 2025-02-14 12:12:48 |
| 合計ジャッジ時間 | 1,634 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 26 |
ソースコード
#include <iostream>
#include <iomanip>
using namespace std;
int main(){
double ax,ay,bx,by;
cin >> ax >> ay >> bx >> by;
cout << setprecision(10) << ay + (by - ay) / (bx + ax) * ax << endl;
}
ldsyb