結果
問題 | No.306 さいたま2008 |
ユーザー |
![]() |
提出日時 | 2015-11-27 22:46:34 |
言語 | C++11 (gcc 13.3.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 218 bytes |
コンパイル時間 | 1,283 ms |
コンパイル使用メモリ | 154,164 KB |
実行使用メモリ | 6,820 KB |
最終ジャッジ日時 | 2025-02-14 12:09:20 |
合計ジャッジ時間 | 2,264 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 26 |
ソースコード
#include <bits/stdc++.h>int main() {double x1, y1;double x2, y2;std::cin >> x1 >> y1;std::cin >> x2 >> y2;double y;y = (y2 - y1) / (x1 + x2) * (x1) + y1;printf("%.20lf\n", y);return 0;}