Input: Two binary numbers, separated by a ",". Output: The LCM of them. Constraint: 1 <= Input number <= 31 <日本語訳> k-7 最小公倍数 入力: ","で区切られた、2つの2進数 出力: 2つの入力値の最小公倍数。 制約: 1 <= 入力値 <= 31 鼠
125 Steam results · Checked
Input: Two binary numbers, separated by a ",". Output: The GCD of them. Constraint: 1 <= Input number <= 31 <日本語訳> k-6 最大公約数 入力: ","で区切られた、2つの2進数 出力: 2つの入力値の最大公約数。 制約: 1 <= 入力値 <= 31 隼
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 <= 入力値 <=
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: Three strings of "a". Output: The longest string of "a". Constraint: 1 <= String length <= 10
Input: A decimal number. Output: Convert input to Roman numerals if it is less than 4000. Otherwise return error. Constraint: 1 <= Input number <= 10000 You may not use keywords in this level. <日本語訳> k-11 ローマ数字 1 入力: 10進数 出力: 入力値が4000より小さければローマ数字に変換する。そうでな
Input: Two strings of "a", "b" and "c". Output: The string which ranks higher in the lexicographic order. If the two strings are the same, any of them will work. Constraint: 1 <= Input length <= 4
Input: A string of "a", "b" and "#". Output: Return "true" if the input contains a "#". Otherwise, return "false". Constraint: 1 <= Input length <= 7 Keywords are allowed.
Input: A string of "a", "b" and "#". Output: Sort the input in alphabetical order. "#" < "a" < "b". Keywords are accepted.
Input: A string of "a", "b" and "c". Output: Replace each "a" with the input string. Remove all "c"s. Constraint: 1 <= Input length <= 7 Input contains at least one "c".
Input: A string of "a", "b" and "#". Output: Return "true" if the input contains two or more non-consecutive "#". Otherwise, return "false". Constraint: 1 <= Input length <= 8 Keywords are allowed.
Input: A string of "a", "b" and "#". Output: The input string with all "#" characters moved to the start. Constraint: 1 <= Input length <= 7 Keywords are allowed.