什么是"外部节点"的"魔术" 3坤环? [英] What is an "external node" of a "magic" 3-gon ring?

查看:143
本文介绍了什么是"外部节点"的"魔术" 3坤环?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我要解决68 在C#项目欧拉问题#,但我至今不明白这个问题清楚了。这是什么外部节点意味着这个问题的声明?

  

考虑下面的神奇的3边形圈,充斥着数字1   至6,并在每行增加9

  4
    \
     3
    / \
   1  -  2  -  6
  /
 五
 

     

工作顺时针,并从三人小组的开始   数值最低外部节点(在本例4,3,2),每个   溶液可以唯一地描述。例如,上述溶液   可以通过集来描述:4,3,2; 6,2,1; 5,1,3。

解决方案

外部节点是不包括在内三角形(五边形)的节点。上的第一画面,4,5和6是外部的节点。
关于'有助于理解这个问题,还有什么其他的部分迷惑你?

修改
第一句是说每一行添加到九',9这里是总。您可以通过总结数字中的任何3线计算每个解决方案的'总'。

I want to solve Project Euler's problem #68 in C#, but I've so far not understood the question clearly. What does external node mean in this problem statement?

Consider the following "magic" 3-gon ring, filled with the numbers 1 to 6, and each line adding to nine.

   4
    \
     3
    / \
   1 - 2 - 6
  /
 5

Working clockwise, and starting from the group of three with the numerically lowest external node (4,3,2 in this example), each solution can be described uniquely. For example, the above solution can be described by the set: 4,3,2; 6,2,1; 5,1,3.

解决方案

'External node' is a node not included in the inner triangle (pentagon). On the first picture, 4, 5 and 6 are external nodes.
Regarding 'helping to understand the question', what other parts confuse you?

edit
In the first sentence it says 'each line adding to nine', 9 here is the total. You can calculate the 'total' of each solution by summing up numbers in any of 3 lines.

这篇关于什么是"外部节点"的"魔术" 3坤环?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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