A=B mods
A=B level mods
Everything filed under level by its own author, ordered by how much it is used.
71 level mods, most downloaded first · newest update 14 Apr 2026
- Divide by bababy 76561199000814258Input: A string of "a" and "b". Output: Group with commas and make sure there are at most two "a"s and two "b"s in each group. Constraint: 1 <= Input length <= 10544 downloadsupdated 5 y ago
- Portal Mazeby 76561198817884603Input: 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 allow you to teleport from one to another....282 downloadsupdated 5 y ago
- Parenthesesby noam.tashmaInput: A string of "[" and "]". Output: Check if the input is a legal parenthesized string. I.e, every "[" must have a matching "]" after it.195 downloadsupdated 4 y ago
- Prime factorizationby 76561199000814258Input: A binary integer greater than 1. Output: Its binary prime factors in ascending order, separated by commas. Constraint: 2 <= Input number <= 100169 downloadsupdated 5 y ago
- Turing Complete?by 18111398It is said that A=B is turing-complete even without keywords, but I failed to figure this one out by myself. Leaving the challenge to anyone else. Input: "a". Output: "aa". You may not use keywords in this level.164 downloadsupdated 4 y ago
- Keep 3by artlessInput: A string of "a", "b" and "c". Output: Keep the first three letters, delete the rest. Constraint: 3 <= Input length <= 7163 downloadsupdated 5 y ago
- Remove last abcby RyZumInput: A string of "a", "b" and "c". Output: Remove the last occurrence of "abc". Constraint: 1 <= Input length <= 9152 downloadsupdated 4 y ago
- List Depthby WhebonInput: Nested lists consisting of "[" and "]" Output: Maximum list depth as a decimal number Constraint: 1 <= depth <= 4137 downloadsupdated 5 y ago
- Squareby artlessInput: A binary number. Output: Its square. Constraint: 1 <= Input number <= 31133 downloadsupdated 5 y ago
- k-9 Lexicographic Orderby 76561199356125488Input: Two strings of "a", "b", "c" and "x", separated by a ",". Output: The string that comes before the other in the lexicographic order. Constraint: 1 <= String length <= 4 First string ≠ Second string Out of the 115260 possible test cases, only 10000 are used as input. <日本語訳> k-9 辞書順 入力: ","で...116 downloadsupdated 11 mo ago
- A to Cby artlessInput: A string of "a", "b" and "c". Output: Replace each "a" with "c". Constraint: 1 <= Input length <= 7114 downloadsupdated 5 y ago
- k-12 Binary to Romanby 76561199356125488Input: A binary 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-12 ローマ数字 2 入力: 2進数 出力: 入力値が4000より小さければローマ数字に変換する。そうでなければ「error」を出力する。 制約: 1 <= 入力値 <= 10000 この課題...89 downloadsupdated 11 mo ago
- k-1 Subtractionby 76561199356125488Input: 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または負の値になる場合がある。 虎84 downloadsupdated 10 mo ago
- String Lengthby LunarInput: A string of "a", "b" and "c". Output: The number of characters in this string in binary representation. Constraint: Input length >= 180 downloadsupdated 4 y ago
- k-5 Fibonacci Sequenceby 76561199356125488Input: A binary number. Output: The Fibonacci number at the given position. Constraint: 1 <= Input number <= 75 <日本語訳> k-5 フィボナッチ数列 入力: 2進数 出力: フィボナッチ数列の入力値番目の項。 制約: 1 <= 入力値 <= 75 鮭79 downloadsupdated 11 mo ago
- k-10 A=B by A=Bby 76561199356125488Input: 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 1180800 possible test cases, only 10000 are u...78 downloadsupdated 11 mo ago
- Elementary Panguby 76561198817884603Input: Roll seven dice. Output: Return true if "pangu project" (sum = 40) is accessible, else return false.77 downloadsupdated 5 y ago
- k-8 Prime Factorizationby 76561199356125488Input: A binary number. Output: Its prime factors in ascending order, separated by "*"s. Constraint: 2 <= Input number <= 256 <日本語訳> k-8 素因数分解 入力: 2進数 出力: 入力値の素因数を昇順に並べ、それを"*"で区切ったもの。 制約: 2 <= 入力値 <= 256 鷹76 downloadsupdated 21 mo ago
- k-3 Square Rootby 76561199356125488Input: A binary number. Output: The integer part of the square root of the input. Constraint: 1 <= Input number <= 1024 <日本語訳> k-3 平方根 入力: 2進数 出力: 入力値の正の平方根における整数部分。 制約: 1 <= 入力値 <= 1024 狐74 downloadsupdated 11 mo ago
- SQRTby artlessInput: A binary number. Output: Its square root. (rounded down) Constraint: 1 <= Input number <= 6372 downloadsupdated 5 y ago
- Longest Screamby zenith_fallingInput: Two strings of "a". Output: The longest string of "a". Constraint: Each string is 1 <= length <= 1070 downloadsupdated 5 y ago
- Middleby 76561199000814258Input: 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.68 downloadsupdated 5 y ago
- k-7 Least Common Multipleby 76561199356125488Input: Two binary numbers, separated by a ",". Output: The LCM of them. Constraint: 1 <= Input number <= 31 <日本語訳> k-7 最小公倍数 入力: ","で区切られた、2つの2進数 出力: 2つの入力値の最小公倍数。 制約: 1 <= 入力値 <= 31 鼠68 downloadsupdated 21 mo ago
- k-6 Greatest Common Divisorby 76561199356125488Input: Two binary numbers, separated by a ",". Output: The GCD of them. Constraint: 1 <= Input number <= 31 <日本語訳> k-6 最大公約数 入力: ","で区切られた、2つの2進数 出力: 2つの入力値の最大公約数。 制約: 1 <= 入力値 <= 31 隼68 downloadsupdated 21 mo ago
- k-4 Logarithmby 76561199356125488Input: 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 <= 入力値 <= 16384 全16384通りのテストケースのうち1000通りのみ入力される。 虻68 downloadsupdated 11 mo ago
- k-2 Summationby 76561199356125488Input: 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 <= 入力値 <= 50 1つ目の値 < 2つ目の値 猿68 downloadsupdated 11 mo ago
- Divisible by 6by zenith_fallingInput: A decimal number. Output: "true" if the number is evenly divisible by 6. "false" otherwise. Constraint: 1 <= Input <= 999967 downloadsupdated 5 y ago
- A Loaf of Almond Cherry Breadby 76561198817884603"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 "a" should be avoided. Constraint: 1 <=...66 downloadsupdated 5 y ago
- k-11 Decimal to Romanby 76561199356125488Input: 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より小さければローマ数字に変換する。そうでなければ「error」を出力する。 制約: 1 <= 入力値 <= 10000 この...62 downloadsupdated 11 mo ago
- Longest Scream 2by zenith_fallingInput: Three strings of "a". Output: The longest string of "a". Constraint: 1 <= String length <= 1060 downloadsupdated 5 y ago
- Word sortingby 76561199000814258Input: 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 <= 453 downloadsupdated 5 y ago
- Is Radioactiveby The Purple SubmarineInput: 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.46 downloadsupdated 5 y ago
- Radioactive Sortby The Purple SubmarineInput: A string of "a", "b" and "#". Output: Sort the input in alphabetical order. "#" < "a" < "b". Keywords are accepted.45 downloadsupdated 5 y ago
- A=A=Bby diVisionInput: 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".43 downloadsupdated 5 y ago
- Is More Radioactiveby The Purple SubmarineInput: 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.42 downloadsupdated 5 y ago
- Radioactive Cleanupby The Purple SubmarineInput: 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.39 downloadsupdated 5 y ago
- Radioactive Remove Thirdby The Purple SubmarineInput: A string of "a", "b" and "#". Output: Remove the third non-"#" character. Constraint: 4 <= Input length <= 9 There is exactly one "#". Keywords are allowed.38 downloadsupdated 5 y ago
- Character after xby 76561199047729556Input: A string of "a", "b", "c", and "x". Output: The character immediately after "x". Constraint: 3 <= Input length <= 7 You may not use keywords in this level.37 downloadsupdated 4 y ago
- bitwise xorby 76561198963229311Input: Two binary numbers, separeted by "^". Output: The bitwise XOR of two numbers. Constraint: Length of input numbers = 5 The length of output must be 5. You can't use any keywords.37 downloadsupdated 5 y ago
- divided by 2by 76561198963229311Input: A decimal number: N. Output: N/2. Constraint: 1 <= N <= 99937 downloadsupdated 5 y ago
- Decimal to Binaryby TonbaInput: A decimal numbers. Output: Converts input numbers to binary numbers. Constraint: 1 <= Input number <= 99936 downloadsupdated 5 y ago
- Coloured Trianglesby 76561199000814258Input: A string of "R", "G" and "B". Output: A coloured triangle is created from a row of colours, each of which is red, green or blue. Successive rows, each containing one fewer colour than the last, are generated by considering the two touching colours in the previous row. If these colours are...31 downloadsupdated 4 y ago
- Triple Threatby 76561198847773308Input: A string of "a", "b" and "c". Output: if there are three or more of a kind in a row, remove them. Constraint: 1 <= Input length <= 730 downloadsupdated 4 y ago
- Less Thanby zenith_fallingInput: Two strings of "0" and "1" separated by a less than symbol "<" Output: true if the inequality is correct, false otherwise Constraint: Each number is 1-5 digits long30 downloadsupdated 5 y ago
- Subsequenceby 76561198819366071Input: Two strings of "a", "b" and "c", separated by a ",". Output: Return true if the second string can be a subsequence of the first string (i.e. by removing some letters in the first string, we can get the second string), and false otherwise. Constraint: 1 <= Length of each string <= 529 downloadsupdated 5 y ago
- A<B, A>B, A=Bby 76561198753966794Input: Two binary numbers, separated by a comparison symbol (<, >, =). Output: true if the comparison is valid, false otherwise. Constraint: 0 <= Input number <= 3128 downloadsupdated 8 mo ago
- Longest Sub-palindromeby 76561198402045647Input: A string of "a", "b" and "c". Output: The longest substring of the input which starts with the beginning of the input and is a palindrome. Constraint: 1 <= Input length <= 727 downloadsupdated 4 y ago
- Decimal to Binaryby 76561199407720988Input: A decimal number but its length is 2. Output: Input converted to a binary number. Constraint: 00 <= Input <= 9924 downloadsupdated 3 y ago
71 level mods, most downloaded first. Each one has its own page here with what it needs to run and where its author publishes it; the files themselves stay with the author and are never re-hosted on this site.

