reginn666 @ ウィキ
http://w.atwiki.jp/reginn666/
reginn666 @ ウィキja2014-06-13T21:36:55+09:001402663015Hubspot
https://w.atwiki.jp/reginn666/pages/124.html
CheckIO Hubspotの問題和訳
問題ページのうち, 問題の前提となる小話は訳してません.
また各問題ページ下部にある「Precondition」は「前提条件」のため訳しません(数値の範囲などだけなので).
#contents()
* Hubspot amulet
Find the secret combination for the Hubspot amulet.
>While exploring the island, Sofia found an interesting Amulet. Along the perimeter of the amulet small points are marked on each degree (for a total 360 degrees.) Three levers extrude from the amulet with varying lengths. The first lever is the shortest, the second lever is in the middle of the three and the last is the longest. These levers can be rotated, but if you rotate one lever the others rotate as well. The levers rotate discretely by degrees, rotating them clockwise gives you a positive angle while counterclockwise is negative.
>After some experiments Sophie discovers the levers correlation. If you rotate a lever, the other rotates in the same direction but with different speed.
>If you rotate the first, then the second is rotated f2 times faster, the third -- at the f3time f 2014-06-13T21:36:55+09:001402663015O'reilly
https://w.atwiki.jp/reginn666/pages/123.html
CheckIO O'reillyの問題和訳
問題ページのうち, 問題の前提となる小話は訳してません.
また各問題ページ下部にある「Precondition」は「前提条件」のため訳しません(数値の範囲などだけなので).
#contents()
* Striped Words
Find the hidden striped words in the robots linguistics test.
>Our robots are always working to improve their linguistic skills. For this mission, they research the latin alphabet and its applications.
>The alphabet contains both vowel and consonant letters (yes, we divide the letters).
> Vowels -- A E I O U Y
> Consonants -- B C D F G H J K L M N P Q R S T V W X Z
>You are given a block of text with different words. These words are separated by white-spaces and punctuation marks. Numbers are not considered words in this mission (a mix of letters and digits is not a word either). You should count the number of words (striped words) where the vowels with consonants are alternating, that is; words that you count cannot have two consecutive vowels or consonants. The words consisting of a single letter are not striped -- do not count th 2014-04-19T01:09:08+09:001397837348Alice In Wanderland
https://w.atwiki.jp/reginn666/pages/122.html
CheckIO Alice In Wanderlandの問題和訳
問題ページのうち, 問題の前提となる小話は訳してません.
また各問題ページ下部にある「Precondition」は「前提条件」のため訳しません(数値の範囲などだけなので).
* Humpty Dumpty Form
Nicola wants to build his own robotic "Humpty Dumpty" and needs to determine how much material is required for its construction.
>After reading this fragment Nicola wants to build his own "Humpty Dumpty". As a basis he chooses the spheroid (read more about it on Wikipedia). We know the height and the width (in inches) for this spheroid. For the job at hand, Nikola needs to know how much material is required.
>You can help him and create a function to calculate the volume (cubic inches) and the surface area (square inches).
Hints:
>Be careful with sin-1x -- this is arcsin.
Input: Two arguments. A height and a width as integers.
Output: The volume and the surface area as a list of floats. The results should be accurate to two decimals.
How it is used:
>This is a simple math task, but we want to introduce you to the splendi 2014-04-18T16:38:30+09:001397806710Ice Base
https://w.atwiki.jp/reginn666/pages/121.html
CheckIO Ice Baseの問題和訳
問題ページのうち, 問題の前提となる小話は訳してません.
また各問題ページ下部にある「Precondition」は「前提条件」のため訳しません(数値の範囲などだけなので).
#contents()
* Auto Painting
Master Nicola’s automated painting invention.
>Nicola has built a semi-automatized painting system, but this system can paint only one side of an item. After that, an operator must reload the machine and paint the other side (the system detects painted sides automatically). The painting process always takes the same amount of time. The camera can paint K surfaces at a time. Nicola wants Stephan to operate the painting machine and he needs to develop an algorithm for Stephan which will allow him to paint N (0 < N ≤ 10) surfaces in the shortest possible timeframe. Be careful that you don't paint the item more than two times.
>The items are numbered from 0 to 9. You are given the paint holding capacity of the machine (K) and the quantity of items (N). You should return the sequence Stephen must paint as a string, where each action is the 2014-04-17T03:53:19+09:001397674399Scientific Expedition
https://w.atwiki.jp/reginn666/pages/120.html
CheckIO Scientific Expeditionの問題和訳
問題ページのうち, 問題の前提となる小話は訳してません.
また各問題ページ下部にある「Precondition」は「前提条件」のため訳しません(数値の範囲などだけなので).
#contents()
* Transposed Matrix
Transpose a matrix of 2D numbers.
>In linear algebra, the transpose of a matrix A is another matrix A^T (also written A′, A^tr, tA or A^t) created by any one of the following equivalent actions:
>reflect A over its main diagonal (which runs from top-left to bottom-right) to obtain A^T
>write the rows of A as the columns of A^T
>write the columns of A as the rows of A^T
>Formally, the i-th row, j-th column element of A^T is the j-th row, i-th column element of A:
> [A^T]_ij = [A]_ji
>If A is an m × n matrix then A^T is an n × m matrix.
>You have been given a matrix as a 2D list with integers. Your task is to return a transposed matrix based on input.
Input: A matrix as a list of lists with integers.
Output: The transposed matrix as a list of lists with integers.
How it is used:
>The most obvious use for 2014-04-15T16:57:10+09:001397548630Mine
https://w.atwiki.jp/reginn666/pages/119.html
CheckIO Mineの問題和訳
問題ページのうち, 問題の前提となる小話は訳してません.
また各問題ページ下部にある「Precondition」は「前提条件」のため訳しません(数値の範囲などだけなので).
#contents()
* Skew-symmetric matrix
Discover if a square matrix is skew-symmetric.
>In mathematics, particularly in linear algebra, a skew-symmetric matrix(also known as an antisymmetric or antimetric) is a square matrix A whose transpose is also its negative. This means it satisfies the equation A = −A^T. If the entry in the i-th row and j-th column is aij, i.e. A = (aij) then the symmetric condition becomes aij = −aji.
>You should determine whether the specified square matrix is skew-symmetric or not.
>You can find more details on Skew-symmetric matrices on its Wikipedia page.
Input: A square matrix as a list of lists with integers.
Output: If the matrix is skew-symmetric or not as a boolean.
How it is used:
>Skew-symmetric matrices can be useful for the cross product, an operation in mathematics used in the calculation of movement of forces. Matrixes ar 2014-06-08T02:20:25+09:001402161625Incinerator
https://w.atwiki.jp/reginn666/pages/118.html
CheckIO Incineratorの問題和訳
問題ページのうち, 問題の前提となる小話は訳してません.
また各問題ページ下部にある「Precondition」は「前提条件」のため訳しません(数値の範囲などだけなので).
#contents()
* The Good Radix
Find the minimal possible number for a radix.
>In mathematical numeral systems, the radix or base is the number of unique digits (including zero) that a positional numeral system uses to represent numbers. For example: in the decimal system, the radix is ten. This is because it has ten digits from 0 through 9. In a system with a radix of 13, there would be 13 digits. For example: a string of digits such as 398 denotes the decimal number 3 * 13^2 + 9 * 13^1 + 8 * 13^0. For the systems with a radix more than 10, we will use capital Latin symbols from A to Z, where A = 10, B = 11 ...
>You are given some number n written as a string with the radix equal to k (1 < k < 37). We know that our number is divisible by (k - 1) without a remainder. You should find the minimal possible k, if it exists, or return 0.
>For example: n = "18". As we 2014-04-12T17:51:37+09:001397292697Electronic Station
https://w.atwiki.jp/reginn666/pages/117.html
CheckIO Electronic Stationの問題和訳
問題ページのうち, 問題の前提となる小話は訳してません.
また各問題ページ下部にある「Precondition」は「前提条件」のため訳しません(数値の範囲などだけなので).
#contents()
* Letter Queue
First In, First Out. Next!
>In computer science, a queue is a particular kind of data type in which the entities in the collection are kept in order and the principal operations on the collection are the addition of entities to the rear terminal position (enqueue or push), and removal of entities from the front terminal position (dequeue or pop). This makes the queue a First-In-First-Out (FIFO) data structure. In a FIFO data structure, the first element added to the queue will be the first one to be removed. This is equivalent to the requirement that once a new element is added, all elements that were added before have to be removed before the new element can be removed.
>We will emulate the queue process with Python. You are given a sequence of commands:
>- "PUSH X" -- enqueue X, where X is a letter in uppercase.
>- "POP" - 2014-07-08T20:05:26+09:001404817526Library
https://w.atwiki.jp/reginn666/pages/116.html
CheckIO Libraryの問題和訳
問題ページのうち, 問題の前提となる小話は訳してません.
また各問題ページ下部にある「Precondition」は「前提条件」のため訳しません(数値の範囲などだけなので).
#contents()
* Fizz Buzz
A word game used to the teach robots about division.
>"Fizz buzz" is a word game we will use to teach the robots about division. Let's learn computers.
>You should write a function that will receive a positive integer and return:
>"Fizz Buzz" if the number is divisible by 3 and by 5;
>"Fizz" if the number is divisible by 3;
>"Buzz" if the number is divisible by 5;
>The number as a string for other cases.
Hints:
>You can easily solve this task with: if-else, % operator and string conversion.
Input: Two arguments. Integers.
Output: The string.
How it is used:
>Here you can learn how to write the simplest function and work with if-else statements.
訳
>"Fizz buzz"はロボットに境界ついて教えてるために使われる言葉遊びだ. コンピュータについて学ぼう.
>あなたは正の整数を受け取り, 次のような文字列を返す関数を作る.
>正の整数が3と5で割り切れるなら"Fizz Buzz"を返す.
>正の整数が3で割り切れるなら"Fizz"を返す.
>正の整数が5で割り切れるなら"Buzz" 2014-04-29T18:25:52+09:001398763552Home
https://w.atwiki.jp/reginn666/pages/115.html
CheckIO Homeの問題和訳
問題ページのうち, 問題の前提となる小話は訳してません.
また各問題ページ下部にある「Precondition」は「前提条件」のため訳しません(数値の範囲などだけなので).
#contents()
* Non-Unique Elements
Trim an array down to its non-unique elements
>You are given a non-empty list of integers (X). For this task, you should return a list consisting of only the non-unique elements in this list.
>To do so you will need to remove all unique elements (elements which are contained in a given list only once).
>When solving this task, do not change the order of the list.
>Example: [1, 2, 3, 1, 3] 1 and 3 non-unique elements and result will be [1, 3, 1, 3].
Input: A list of integers.
Output: The list of integers.
How it is used:
>This mission will help you to understand how to manipulate arrays, something that is the basis for solving more complex tasks.
>The concept can be easily generalized for real world tasks. For example: if you need to clarify statistics by removing low frequency elements (noise).
訳
>あなたに空でない整数のリストが与 2014-07-08T16:45:42+09:001404805542