- 1、本文档共4页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 5、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 6、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 7、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 8、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
10250 - The Other Two Trees
You have a quadrilateral shaped land whose opposite fences are of equal length. You have four neighbors whose lands are exactly adjacent to your four fences, that means you have a common fence with all of them. For example if you have a fence of length d in one side, this fence of length d is also the fence of the adjacent neighbor on that side. The adjacent neighbors have no fence in common among themselves and their lands also don’t intersect. The main difference between their land and your land is that their lands are all square shaped. All your neighbors have a tree at the center of their lands. Given the Cartesian coordinates of trees of two opposite neighbors, you will have to find the Cartesian coordinates of the other two trees.
Input
The input file contains several lines of input. Each line contains four floating point or integer numbers x1, y1, x2, y2, where (x1, y1), (x2, y2) are the coordinates of the trees of two opposite neighbors. Input is terminated by end of file.
Output
For each line of input produce one line of output which contains the line “Impossible.” without the quotes, if you cannot determine the coordinates of the other two trees. Otherwise, print four floating point numbers separated by a single space with ten digits after the decimal point ax1, ay1, ax2, ay2, where (ax1, ay1) and (ax2, ay2) are the coordinates of the other two trees. The output will be checked with special judge program, so don’t worry about the ordering of the points or small precision errors. The sample output will make it clear.
Sample Input
10 0 -10 0
10 0 -10 0
10 0 -10 0
Sample Output
0.0000000000 10.0000000000 0.0000000000 -10.0000000000
0.0000000000 10.0000000000 -0.0000000000 -10.0000000000
0.0000000000 -10.0000000000 0.0000000000 10.0000000000
579 – ClockHands
The medieval interest in mechanical contrivances is well illustrated by the development of the mechanical clock, the oldest of which is driven by weights and controlled by a ve
您可能关注的文档
- 培训用游戏112我愿改变的三件事[1].ppt
- 培训与开发必背习题.doc
- 培训与开发-方法、制度.ppt
- 培训专员述职报告.ppt
- 培训资料-6σ管理知识简介.ppt
- 培训资料:酒店员工行为规范(33P).doc
- 培养创新意识.doc
- 培养服务意识.doc
- 培养构建安全文化 促进企业和谐发展.doc
- 培养良好性格,立志.doc
- 2025年四川文化传媒职业学院单招职业适应性测试题库标准卷.docx
- 初级会计学(第三版)课件 李长青 第1--6章 总论、会计要素和会计等式 ---会计凭证.ppt
- BTA防护下铜合金于大气环境中腐蚀行为的多维度剖析.docx
- CA153与CA19 - 9:恶性腹水诊断的新视角与价值探究.docx
- CA916798基因:解析肺癌顺铂耐药谜题的关键钥匙.docx
- B-RF内固定治疗脊柱骨折的动物实验探究:力学性能与生物效应的综合解析.docx
- 2025年哈尔滨幼儿师范高等专科学校单招职业技能测试题库word.docx
- 2025年咸阳职业技术学院单招职业倾向性测试题库word版.docx
- Cathepsin B、MMP-9表达与大肠癌芽殖的相关性及临床意义探究.docx
- 137例绞窄性肠梗阻的深度剖析与临床启示.docx
文档评论(0)