Input: A string of a positive or negative decimal integer. Output: Implement the function of the sign function in mathematics:if the input is less than 0, the output is -1; if the input is equal to 0, the output is 0; if the input is greater than 0, the ou
125 Steam results · Checked
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". Output: A binary number, depicting the number of "a"s in the input. Constraint: 1 <= Input length <= 255
Input: A string of "a", "b" and "c". Output: Replace each "a" with "b", each "b" with "c", and each "c" with "a". Constraint: 1 <= Input length <= 7
Input: A string of "a", "b" and "c". Output: Output "helloworld" if and only if the string contains "abc". Constraint: 1 <= Input length <= 7
Input: A string of "a", "b" and "c". Output: Replace "a" with "b" at the beginning. Constraint: 1 <= Input length <= 7
Input: Two binary numbers, separated by "^". Output: The result of exponentiation. Constraint: 1 <= First number <= 31 1 <= Second number <= 15
Input: Two binary numbers, separated by a comparison symbol (<, >, =). Output: true if the comparison is valid, false otherwise. Constraint: 0 <= Input number <= 31
Input: Two binary numbers, separated by "/". Output: The result of division. If the result is not an integer, use "." to separate the integer and fractional parts. If the fractional part is repeating, enclose the repeating part in "". Constraint: 1 <= Inpu
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: 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: A binary number. Output: The Fibonacci number at the given position. Constraint: 1 <= Input number <= 75 <日本語訳> k-5 フィボナッチ数列 入力: 2進数 出力: フィボナッチ数列の入力値番目の項。 制約: 1 <= 入力値 <= 75 鮭