結果
| 問題 | No.306 さいたま2008 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2015-11-27 23:06:27 |
| 言語 | PyPy2 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 167 ms / 2,000 ms |
| コード長 | 258 bytes |
| 記録 | |
| コンパイル時間 | 118 ms |
| コンパイル使用メモリ | 77,424 KB |
| 最終ジャッジ日時 | 2025-12-03 17:57:01 |
|
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 26 |
ソースコード
# -*- coding: utf-8 -*- import sys,copy,math,heapq,itertools as it,fractions,re,bisect,collections as coll xa, ya = map(float, raw_input().split()) xb, yb = map(float, raw_input().split()) xb *= -1 y = (ya - yb)/(xa - xb) * (0 - xa) + ya print "%.10f" % y