結果
問題 |
No.306 さいたま2008
|
ユーザー |
|
提出日時 | 2017-11-11 16:14:29 |
言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 235 bytes |
コンパイル時間 | 411 ms |
コンパイル使用メモリ | 54,388 KB |
実行使用メモリ | 6,824 KB |
最終ジャッジ日時 | 2024-11-24 19:06:43 |
合計ジャッジ時間 | 1,451 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 21 WA * 2 |
ソースコード
#include <iostream> int main(){ std::cin.tie(0); std::ios::sync_with_stdio(false); double ax, ay, bx, by; std::cin >> ax >> ay >> bx >> by; bx = -bx; std::cout << -ax * ((ay - by) / (ax - bx)) + ay << std::endl; return 0; }