Input: A string of "a", "b" and "c". Output: The number of characters in this string in binary representation. Constraint: Input length >= 1
125 Steam results · Checked
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: Roll seven dice. Output: Return true if "pangu project" (sum = 40) is accessible, else return false.
Input: Two strings of "a", "b" and "c", separated by a ",". Output: The result of this game given the "first string" as input and "second string =" as the instruction. Constraint: 1 <= First string length <= 8 1 <= Second string length <= 4 Out of the 1180
Input: A binary number. Output: The Fibonacci number at the given position. Constraint: 1 <= Input number <= 75 <日本語訳> k-5 フィボナッチ数列 入力: 2進数 出力: フィボナッチ数列の入力値番目の項。 制約: 1 <= 入力値 <= 75 鮭
Input: A binary number. Output: Its prime factors in ascending order, separated by "*"s. Constraint: 2 <= Input number <= 256 <日本語訳> k-8 素因数分解 入力: 2進数 出力: 入力値の素因数を昇順に並べ、それを"*"で区切ったもの。 制約: 2 <= 入力値 <= 256 鷹
Input: Two strings of "a". Output: The longest string of "a". Constraint: Each string is 1 <= length <= 10
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: A binary number. Output: Its square root. (rounded down) Constraint: 1 <= Input number <= 63
Input: A string of "a", "b" and "c". Output: Return the middle common letter. Constraint: 1 <= Input length <= 8 There's no ties for the middle. All kinds of letter appear at least once.
Input: A decimal number. Output: "true" if the number is evenly divisible by 6. "false" otherwise. Constraint: 1 <= Input <= 9999
"Please don't put almonds into bread, especially cherry bread!" Input: A string of "a", "b", "c". Output: A binary number, the tastiness point of the most tasty sub-string (or maybe, sub-bread). Each "b" provides 1 point and each "c" provides -1 point. Any