結果
問題 | No.306 さいたま2008 |
ユーザー |
|
提出日時 | 2015-11-27 23:06:27 |
言語 | Python2 (2.7.18) |
結果 |
AC
|
実行時間 | 25 ms / 2,000 ms |
コード長 | 258 bytes |
コンパイル時間 | 638 ms |
コンパイル使用メモリ | 7,040 KB |
実行使用メモリ | 8,320 KB |
最終ジャッジ日時 | 2025-02-14 12:09:56 |
合計ジャッジ時間 | 2,089 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 26 |
ソースコード
# -*- coding: utf-8 -*-import sys,copy,math,heapq,itertools as it,fractions,re,bisect,collections as collxa, ya = map(float, raw_input().split())xb, yb = map(float, raw_input().split())xb *= -1y = (ya - yb)/(xa - xb) * (0 - xa) + yaprint "%.10f" % y