挑战:三角形拼图 [英] Challenge: Triangles puzzle

查看:86
本文介绍了挑战:三角形拼图的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经设置了一个挑战,主要是针对C ++,Java和Lisp,但欢迎使用其他所有
语言:

http://www.frank-buss.de/challenge/index.html

没有什么可以赢,但我希望最后会有一些有趣的

解决方案,所以胜利就是结果:-)
< br $> b $ b -

Frank Bu?, fb@frank-buss.de
http://www.frank-buss.de http://www.it4-systems.de

I''ve setup a challenge, mainly for C++, Java and Lisp, but every other
language is welcome:

http://www.frank-buss.de/challenge/index.html

There is nothing to win, but I hope there will be some interesting
solutions at the end, so the win are the results :-)

--
Frank Bu?, fb@frank-buss.de
http://www.frank-buss.de, http://www.it4-systems.de

推荐答案

抱歉,我不同意你的解决方案。

你错过了很多三角形。


例如,P0 - > P8 - > P5 - > P0是零区域的三角形。

但不计入27的解决方案。


-jim


Frank Buss写道:
Sorry, but i do not agree with your solution.
You missed many triangles.

E.g., P0 -> P8 -> P5 -> P0 is a triangle of zero area.
but it is not counted in th solution of 27.

-jim

Frank Buss wrote:
我设置了一个挑战,主要是针对C ++,Java和Lisp,但欢迎使用其他所有语言:

http://www.frank-buss.de/challenge/index。 HTML

没有什么可以赢,但我希望最后会有一些有趣的解决方案,所以胜利就是结果: - )
I''ve setup a challenge, mainly for C++, Java and Lisp, but every other
language is welcome:

http://www.frank-buss.de/challenge/index.html

There is nothing to win, but I hope there will be some interesting
solutions at the end, so the win are the results :-)






Jim Newton< ji *** @ rdrop.com>写道:
Jim Newton <ji***@rdrop.com> wrote:
很抱歉,但我不同意你的解决方案。
你错过了很多三角形。

例如,P0 - > P8 - > P5 - > P0是一个零区域的三角形。
但它不计入27的解决方案。
Sorry, but i do not agree with your solution.
You missed many triangles.

E.g., P0 -> P8 -> P5 -> P0 is a triangle of zero area.
but it is not counted in th solution of 27.




你是对的,这不够准确,我''更新了网页。只计算面积> 0的
三角形。


-

Frank Bu ?, fb@frank-buss.de
http://www.frank-buss.de http:/ /www.it4-systems.de



you are right, this was not exact enough, I''ve updated the web page. Only
triangles with area>0 should be counted.

--
Frank Bu?, fb@frank-buss.de
http://www.frank-buss.de, http://www.it4-systems.de


>对不起,但我不同意你的解决方案。
> Sorry, but i do not agree with your solution.
你错过了很多三角形。

例如,P0 - > P8 - > P5 - > P0是零区域的三角形。
但不计入27的解决方案。
You missed many triangles.

E.g., P0 -> P8 -> P5 -> P0 is a triangle of zero area.
but it is not counted in th solution of 27.




hmm ...

你在说什么?


面积等于零的三角形不存在。一个三角形有三个

角度,它们都不等于零,否则你就没有

a三角形。


您用P0描述的内容 - > P8 - > P5 - > P0是一段不是

三角形......



hmm...

What are you talking about?

A triangle with an area equal to zero doesn''t exist. A triangle has three
angles and none of them may be equal to zero, otherwise you just don''t have
a triangle.

What you describe with P0 -> P8 -> P5 -> P0 is a segment of a line not a
triangle...


这篇关于挑战:三角形拼图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆