From 18a552dcb4f3f417dec24f83acf66cf6e27d6dc3 Mon Sep 17 00:00:00 2001 From: "loopfunder-desk[bot]" <363262555+loopfunder-desk[bot]@users.noreply.github.com> Date: Tue, 1 Dec 2026 18:27:40 +0000 Subject: [PATCH] q004 --- riddles/q004.json | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 riddles/q004.json diff --git a/riddles/q004.json b/riddles/q004.json new file mode 100644 index 0000000..73c3e14 --- /dev/null +++ b/riddles/q004.json @@ -0,0 +1,11 @@ +{ + "id": "q004", + "title": "Sideways Abacus", + "examples": [ + { "input": ["20100", "03020", "00040"], "output": ["00021", "00032", "00004"] }, + { "input": ["4051", "6010", "2056", "0000"], "output": ["0451", "0061", "0256", "0000"] }, + { "input": ["0120", "3400", "0056", "2431"], "output": ["0012", "0034", "0056", "2431"] } + ], + "test": ["502003", "040501", "300420", "020000"], + "rule": [{ "op": "gravity", "toward": "right", "background": "0" }] +}