Input: A binary number. Output: The integer part of the base-3 logarithm of the input. Constraint: 1 <= Input number <= 16384 Out of the 16384 possible test cases, only 1000 are used as input. <日本語訳> k-4 対数 入力: 2進数 出力: 3を底とする入力値の対数における整数部分。 制約: 1 <= 入力値 <=
125 Steam results · Checked
Input: A binary number. Output: The integer part of the square root of the input. Constraint: 1 <= Input number <= 1024 <日本語訳> k-3 平方根 入力: 2進数 出力: 入力値の正の平方根における整数部分。 制約: 1 <= 入力値 <= 1024 狐
Input: Two binary numbers, separated by a ",". Output: The sum of all integers from the first number to the second number. Constraint: 1 <= Input number <= 50 First number < Second number <日本語訳> k-2 総和 入力: ","で区切られた、2つの2進数 出力: 1つ目の値から2つ目の値までの整数の総和。 制約: 1 <
Input: Two binary numbers, separated by a "-". Output: The result of the subtraction. Constraint: 1 <= Input number <= 31 The result may be zero or negative. <日本語訳> k-1 減法 入力: "-"で区切られた、2つの2進数 出力: 引き算の結果。 制約: 1 <= 入力値 <= 31 答えが0または負の値になる場合がある。 虎
Input: A string of the maze including > exactly one "a" as your start; > exactly one "b" as the goal; > "_"s as floors you can walk on; > "|"s as walls you can't pass; > "h"s as hammers that allow you to break one wall per hammer; > "p"s as portals that al
Input: Three binary numbers, separated by commas. Output: Treat the three numbers as the side lengths of a triangle. Return "Acute", "Right", or "Obtuse" depending on the type of triangle, or "Invalid" if they cannot form a triangle. Constraint: 1 <= Input
Input: A string of "a", "b" and "c". Output: Replace each "a" with "b". Constraint: 1 <= Input length <= 7
Input: Two binary numbers, separated by a ",". Output: Their Average(Round down the fractional part of a binary number) Constraint: 1 <= Input number <= 31
Input: A string of "a", "b" and "c". Output: If the input is a palindrome (i.e. a word that reads the same as backwards), output "yes", otherwise output "no". Keywords are not allowed in this level.
Input: A string of "a", "b" and "c". Output: Replace each "a" with "b". Constraint: 1 <= Input length <= 7
Input: A string of "a", "b" and "c". Output: Replace the first "a" in the string with "b". Constraint: 1 <= Input length <= 7
Input: A string of "a", "b" and "c". Output: Add "hello" at the beginning of the string. Constraint: 1 <= Input length <= 7