chore(i8n,learn): processed translations
This commit is contained in:
committed by
Mrugesh Mohapatra
parent
15047f2d90
commit
e5c44a3ae5
@ -1,34 +1,34 @@
|
||||
---
|
||||
id: 5900f5141000cf542c510026
|
||||
title: 问题424:九郎
|
||||
title: 'Problem 424: Kakuro'
|
||||
challengeType: 5
|
||||
videoUrl: ''
|
||||
forumTopicId: 302094
|
||||
dashedName: problem-424-kakuro
|
||||
---
|
||||
|
||||
# --description--
|
||||
|
||||
上面是一个神秘的kakuro(也称为交叉和,甚至是交叉和)难题的示例,其最终解决方案在右侧。 (在许多互联网站点上都可以轻松找到kakuro谜题的通用规则。当前还可以在krazydad.com上找到其他相关信息,其作者已提供了此挑战的谜题数据。)
|
||||
The above is an example of a cryptic kakuro (also known as cross sums, or even sums cross) puzzle, with its final solution on the right. (The common rules of kakuro puzzles can be found easily on numerous internet sites. Other related information can also be currently found at krazydad.com whose author has provided the puzzle data for this challenge.)
|
||||
|
||||
可下载的文本文件(kakuro200.txt)包含200个此类难题的描述,混合了5x5和6x6类型。文件中的第一个难题是上面的示例,其编码如下:
|
||||
The downloadable text file (kakuro200.txt) contains the description of 200 such puzzles, a mix of 5x5 and 6x6 types. The first puzzle in the file is the above example which is coded as follows:
|
||||
|
||||
6,X,X,(vCC),(vI),X,X,X,(hH),B,O,(vCA),(vJE),X,(hFE,vD),O,O,O, O,(hA),O,I,(hJC,vB),O,O,(hJC),H,O,O,O,X,X,X,(hJE),O,O,X
|
||||
6,X,X,(vCC),(vI),X,X,X,(hH),B,O,(vCA),(vJE),X,(hFE,vD),O,O,O,O,(hA),O,I,(hJC,vB),O,O,(hJC),H,O,O,O,X,X,X,(hJE),O,O,X
|
||||
|
||||
第一个字符是指示信息网格大小的数字。它可能是6(用于5x5的kakuro拼图)或7(用于6x6的拼图),后跟逗号(,)。需要额外的顶行和左列来插入信息。
|
||||
The first character is a numerical digit indicating the size of the information grid. It would be either a 6 (for a 5x5 kakuro puzzle) or a 7 (for a 6x6 puzzle) followed by a comma (,). The extra top line and left column are needed to insert information.
|
||||
|
||||
然后描述每个单元格的内容,并在其后跟一个逗号,从左到右并从顶行开始。 X =灰色单元格,不需要用数字填充。 O(大写字母)=要用数字填充的空白单元格。 A =或从A到J的大写字母中的任何一个都由已解决难题中的等效数字替换。 ()=加密总和的位置。水平总和前面加上小写的“ v”。后面跟着一两个大写字母,具体取决于总和是一位还是两位数。对于两位数的总和,第一个字母表示“十”,第二个字母表示“单位”。当单元格必须同时包含水平和垂直信息时,第一个始终是水平和信息,并且两者在同一组括号内用逗号分隔,例如:(.hFE,vD)。每组括号后还紧跟一个逗号。
|
||||
The content of each cell is then described and followed by a comma, going left to right and starting with the top line. X = Gray cell, not required to be filled by a digit. O (upper case letter)= White empty cell to be filled by a digit. A = Or any one of the upper case letters from A to J to be replaced by its equivalent digit in the solved puzzle. ( ) = Location of the encrypted sums. Horizontal sums are preceded by a lower case "h" and vertical sums are preceded by a lower case "v". Those are followed by one or two upper case letters depending if the sum is a single digit or double digit one. For double digit sums, the first letter would be for the "tens" and the second one for the "units". When the cell must contain information for both a horizontal and a vertical sum, the first one is always for the horizontal sum and the two are separated by a comma within the same set of brackets, ex.: (hFE,vD). Each set of brackets is also immediately followed by a comma.
|
||||
|
||||
最后一个单元格的描述后跟回车符/换行符(CRLF),而不是逗号。
|
||||
The description of the last cell is followed by a Carriage Return/Line Feed (CRLF) instead of a comma.
|
||||
|
||||
每个谜题所需的答案均基于得出解决方案所需的每个字母的值,并根据字母顺序。如示例难题所示,其答案将为8426039571。10个加密字母中至少有9个始终是问题描述的一部分。如果仅给出9,则必须为丢失的数字分配剩余的数字。
|
||||
The required answer to each puzzle is based on the value of each letter necessary to arrive at the solution and according to the alphabetical order. As indicated under the example puzzle, its answer would be 8426039571. At least 9 out of the 10 encrypting letters are always part of the problem description. When only 9 are given, the missing one must be assigned the remaining digit.
|
||||
|
||||
您将获得文件中前10个谜题的答案总和为64414157580。
|
||||
You are given that the sum of the answers for the first 10 puzzles in the file is 64414157580.
|
||||
|
||||
找到200个难题的答案总和。
|
||||
Find the sum of the answers for the 200 puzzles.
|
||||
|
||||
# --hints--
|
||||
|
||||
`euler424()`应该返回1059760019628。
|
||||
`euler424()` should return 1059760019628.
|
||||
|
||||
```js
|
||||
assert.strictEqual(euler424(), 1059760019628);
|
||||
|
Reference in New Issue
Block a user