round2-oss-matched / exp0_20b /node01 /fb_tests.jsonl
Boxue's picture
add experiment dir: exp0_20b
9f00bcb verified
Raw
History Blame Contribute Delete
131 kB
{"id": "cc-06489", "n_tests": 50, "public_tests": "{\"inputs\": [\"2\\n1\\n1 42\\n2\\n3 10 15 8\\n2 12 11\\n\", \"2\\n1\\n1 42\\n2\\n3 10 15 1\\n2 12 11\\n\", \"2\\n1\\n1 20\\n2\\n3 10 15 8\\n2 12 11\\n\", \"2\\n1\\n1 42\\n2\\n3 1 15 8\\n2 12 19\\n\", \"2\\n1\\n1 42\\n2\\n3 19 15 0\\n2 12 11\\n\", \"2\\n1\\n1 42\\n2\\n3 13 15 0\\n2 12 16\\n\", \"2\\n1\\n1 41\\n2\\n3 1 15 8\\n2 12 19\\n\", \"2\\n1\\n1 42\\n2\\n3 10 16 0\\n2 12 11\\n\", \"2\\n1\\n1 42\\n2\\n3 13 24 0\\n2 12 16\\n\", \"2\\n1\\n1 41\\n1\\n3 1 15 8\\n2 12 19\\n\", \"2\\n1\\n1 42\\n2\\n3 13 24 0\\n2 12 26\\n\", \"2\\n1\\n1 15\\n2\\n3 1 15 8\\n2 12 19\\n\", \"2\\n1\\n1 41\\n2\\n3 1 15 8\\n2 12 29\\n\", \"2\\n1\\n1 42\\n2\\n3 1 19 6\\n2 12 11\\n\", \"2\\n1\\n1 84\\n2\\n3 19 16 0\\n2 12 11\\n\", \"2\\n1\\n1 84\\n2\\n3 19 16 0\\n2 21 11\\n\", \"2\\n1\\n1 84\\n2\\n3 1 16 0\\n2 21 11\\n\", \"2\\n1\\n1 15\\n2\\n3 2 15 8\\n2 31 19\\n\", \"2\\n1\\n1 42\\n2\\n3 10 15 1\\n2 21 11\\n\", \"2\\n1\\n1 14\\n2\\n3 1 15 8\\n2 12 19\\n\", \"2\\n1\\n1 39\\n1\\n3 1 15 8\\n2 12 19\\n\", \"2\\n1\\n1 41\\n2\\n3 1 15 8\\n2 12 0\\n\", \"2\\n1\\n1 15\\n2\\n3 1 18 8\\n2 13 19\\n\", \"2\\n1\\n1 84\\n2\\n3 1 16 0\\n2 14 11\\n\", \"2\\n1\\n1 14\\n2\\n3 1 22 8\\n2 12 19\\n\", \"2\\n1\\n1 15\\n2\\n3 1 18 8\\n2 13 33\\n\", \"2\\n1\\n1 9\\n2\\n3 2 9 8\\n2 13 19\\n\", \"2\\n1\\n1 24\\n2\\n3 2 15 1\\n2 12 19\\n\", \"2\\n1\\n1 2\\n2\\n3 1 22 8\\n2 12 19\\n\", \"2\\n1\\n1 75\\n2\\n3 13 24 0\\n2 12 0\\n\", \"2\\n1\\n1 24\\n2\\n3 2 15 1\\n2 12 15\\n\", \"2\\n1\\n1 41\\n2\\n3 1 15 20\\n2 12 1\\n\", \"2\\n1\\n1 16\\n2\\n3 0 15 2\\n2 6 15\\n\", \"2\\n1\\n1 16\\n2\\n3 0 15 2\\n2 6 13\\n\", \"2\\n1\\n1 35\\n2\\n3 13 15 0\\n2 12 11\\n\", \"2\\n1\\n1 42\\n2\\n3 1 15 8\\n2 12 31\\n\", \"2\\n1\\n1 42\\n2\\n3 24 24 0\\n2 12 16\\n\", \"2\\n1\\n1 5\\n2\\n3 1 15 6\\n2 12 11\\n\", \"2\\n1\\n1 80\\n2\\n3 10 15 0\\n2 12 5\\n\", \"2\\n1\\n1 15\\n2\\n3 2 15 8\\n2 13 15\\n\", \"2\\n1\\n1 84\\n2\\n3 19 16 0\\n2 32 11\\n\", \"2\\n1\\n1 30\\n2\\n3 10 15 1\\n2 21 11\\n\", \"2\\n1\\n1 45\\n1\\n3 10 15 0\\n2 12 11\\n\", \"2\\n1\\n1 42\\n2\\n3 1 15 1\\n2 12 35\\n\", \"2\\n1\\n1 14\\n2\\n3 1 18 8\\n2 12 19\\n\", \"2\\n1\\n1 42\\n2\\n3 10 16 0\\n2 27 11\\n\", \"2\\n1\\n1 70\\n2\\n3 1 24 6\\n2 12 11\\n\", \"2\\n1\\n1 146\\n2\\n3 19 16 0\\n2 21 2\\n\", \"2\\n1\\n1 15\\n2\\n3 1 22 8\\n2 18 19\\n\", \"2\\n1\\n1 15\\n2\\n3 2 14 0\\n2 43 19\\n\"], \"outputs\": [\"43\\n13\\n\", \"43\\n13\\n\", \"21\\n13\\n\", \"43\\n16\\n\", \"43\\n18\\n\", \"43\\n15\\n\", \"42\\n16\\n\", \"43\\n14\\n\", \"43\\n22\\n\", \"42\\n15\\n\", \"43\\n24\\n\", \"16\\n16\\n\", \"42\\n26\\n\", \"43\\n17\\n\", \"85\\n18\\n\", \"85\\n20\\n\", \"85\\n19\\n\", \"16\\n29\\n\", \"43\\n19\\n\", \"15\\n16\\n\", \"40\\n15\\n\", \"42\\n13\\n\", \"16\\n18\\n\", \"85\\n15\\n\", \"15\\n20\\n\", \"16\\n30\\n\", \"10\\n16\\n\", \"25\\n16\\n\", \"3\\n20\\n\", \"76\\n22\\n\", \"25\\n15\\n\", \"42\\n17\\n\", \"17\\n15\\n\", \"17\\n13\\n\", \"36\\n13\\n\", \"43\\n28\\n\", \"43\\n23\\n\", \"6\\n13\\n\", \"81\\n13\\n\", \"16\\n15\\n\", \"85\\n30\\n\", \"31\\n19\\n\", \"46\\n15\\n\", \"43\\n32\\n\", \"15\\n18\\n\", \"43\\n25\\n\", \"71\\n22\\n\", \"147\\n20\\n\", \"16\\n20\\n\", \"16\\n41\\n\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "cc-06494", "n_tests": 50, "public_tests": "{\"inputs\": [\"8\\n1 5\\n2 5\\n3 5\\n2 1\\n7 17\\n4 14\\n1 1000000000\\n1000000000 1\\n\", \"8\\n1 5\\n2 5\\n3 5\\n2 1\\n14 17\\n4 14\\n1 1000000000\\n1000000000 1\\n\", \"8\\n1 5\\n2 5\\n3 5\\n2 1\\n14 17\\n4 14\\n1 1010000000\\n1000000000 1\\n\", \"8\\n1 5\\n1 5\\n3 5\\n2 1\\n14 17\\n4 14\\n1 1010000000\\n1000100000 1\\n\", \"8\\n1 5\\n1 9\\n3 5\\n2 1\\n14 17\\n4 14\\n1 1010000000\\n1000100000 1\\n\", \"8\\n1 5\\n1 9\\n3 5\\n2 1\\n14 17\\n4 14\\n1 1010001000\\n1000100000 1\\n\", \"8\\n1 5\\n1 9\\n3 5\\n2 1\\n14 17\\n4 14\\n1 1000001000\\n1000100000 1\\n\", \"8\\n1 5\\n1 9\\n3 5\\n2 1\\n14 17\\n4 0\\n1 1000001000\\n1000100000 1\\n\", \"8\\n1 5\\n1 9\\n3 3\\n2 1\\n14 17\\n4 0\\n1 1000001000\\n1000100000 1\\n\", \"8\\n1 5\\n1 9\\n3 3\\n2 1\\n14 17\\n4 0\\n1 1000001100\\n1000100000 1\\n\", \"8\\n1 9\\n2 5\\n3 5\\n2 1\\n14 17\\n4 14\\n1 1000000000\\n1000000000 1\\n\", \"8\\n1 5\\n1 5\\n3 5\\n2 1\\n14 17\\n4 14\\n1 1000000000\\n1000100000 1\\n\", \"8\\n1 5\\n1 9\\n3 5\\n2 1\\n14 0\\n4 14\\n1 1010000000\\n1000100000 1\\n\", \"8\\n1 1\\n1 9\\n3 5\\n2 1\\n14 17\\n4 14\\n1 1010001000\\n1000100000 1\\n\", \"8\\n1 5\\n1 9\\n3 5\\n2 1\\n14 17\\n4 14\\n1 1001001000\\n1000100000 1\\n\", \"8\\n1 5\\n1 1\\n3 3\\n2 1\\n14 17\\n4 0\\n1 1000001000\\n1000100000 1\\n\", \"8\\n1 9\\n2 5\\n3 5\\n2 1\\n14 17\\n4 3\\n1 1000000000\\n1000000000 1\\n\", \"8\\n1 5\\n2 5\\n3 5\\n2 1\\n14 17\\n4 14\\n1 1010010000\\n1010000000 1\\n\", \"8\\n2 5\\n2 10\\n3 5\\n2 1\\n14 17\\n4 14\\n1 1010000000\\n1000100000 1\\n\", \"8\\n1 5\\n1 5\\n3 5\\n2 1\\n14 17\\n4 14\\n1 1000001000\\n1000100000 1\\n\", \"8\\n1 5\\n1 9\\n3 5\\n2 1\\n14 0\\n4 14\\n1 1010010000\\n1000100000 1\\n\", \"8\\n1 1\\n1 9\\n3 5\\n2 1\\n14 17\\n2 14\\n1 1010001000\\n1000100000 1\\n\", \"8\\n1 5\\n1 18\\n3 5\\n2 1\\n14 17\\n4 0\\n1 1000001000\\n1000100000 1\\n\", \"8\\n2 5\\n1 1\\n3 3\\n2 1\\n14 17\\n4 0\\n1 1000001000\\n1000100000 1\\n\", \"8\\n1 9\\n2 1\\n3 5\\n2 1\\n14 17\\n4 3\\n1 1000000000\\n1000000000 1\\n\", \"8\\n1 5\\n2 5\\n4 5\\n2 1\\n14 17\\n4 14\\n1 1010010000\\n1010000000 1\\n\", \"8\\n2 5\\n2 10\\n3 5\\n2 1\\n14 0\\n4 14\\n1 1010000000\\n1000100000 1\\n\", \"8\\n1 4\\n1 5\\n3 5\\n2 1\\n14 17\\n4 14\\n1 1000001000\\n1000100000 1\\n\", \"8\\n1 5\\n1 9\\n3 5\\n2 1\\n14 0\\n4 2\\n1 1010010000\\n1000100000 1\\n\", \"8\\n1 1\\n1 9\\n3 5\\n2 1\\n14 17\\n2 23\\n1 1010001000\\n1000100000 1\\n\", \"8\\n2 5\\n1 9\\n3 5\\n4 1\\n14 17\\n4 14\\n1 1001001000\\n1000100000 1\\n\", \"8\\n1 5\\n1 18\\n3 5\\n2 1\\n14 17\\n4 0\\n2 1000001000\\n1000100000 1\\n\", \"8\\n2 5\\n1 1\\n3 3\\n2 1\\n14 17\\n4 0\\n1 1000001010\\n1000100000 1\\n\", \"8\\n1 5\\n1 9\\n3 3\\n2 1\\n14 29\\n2 0\\n1 1000001100\\n1010100000 1\\n\", \"8\\n1 9\\n2 1\\n3 5\\n2 1\\n14 17\\n4 2\\n1 1000000000\\n1000000000 1\\n\", \"8\\n1 5\\n1 5\\n4 5\\n2 1\\n14 17\\n4 14\\n1 1010010000\\n1010000000 1\\n\", \"8\\n1 4\\n1 5\\n4 5\\n2 1\\n14 17\\n4 14\\n1 1000001000\\n1000100000 1\\n\", \"8\\n1 9\\n1 9\\n3 5\\n2 1\\n14 0\\n4 2\\n1 1010010000\\n1000100000 1\\n\", \"8\\n2 5\\n1 9\\n3 5\\n4 1\\n14 17\\n4 16\\n1 1001001000\\n1000100000 1\\n\", \"8\\n1 5\\n1 18\\n3 0\\n2 1\\n14 17\\n4 0\\n2 1000001000\\n1000100000 1\\n\", \"8\\n2 5\\n1 1\\n6 3\\n2 1\\n14 17\\n4 0\\n1 1000001010\\n1000100000 1\\n\", \"8\\n2 5\\n2 10\\n3 3\\n2 1\\n14 0\\n4 14\\n1 1010000000\\n1000100000 2\\n\", \"8\\n1 1\\n1 9\\n3 5\\n2 2\\n14 17\\n4 23\\n1 1010001000\\n1000100000 1\\n\", \"8\\n2 5\\n1 9\\n3 5\\n4 1\\n5 17\\n4 16\\n1 1001001000\\n1000100000 1\\n\", \"8\\n1 5\\n1 18\\n3 0\\n2 1\\n20 17\\n4 0\\n2 1000001000\\n1000100000 1\\n\", \"8\\n1 6\\n2 1\\n3 5\\n2 1\\n14 17\\n4 2\\n1 1000000000\\n1000000000 2\\n\", \"8\\n1 5\\n1 5\\n4 5\\n2 1\\n14 5\\n4 14\\n1 1010010000\\n1010000001 1\\n\", \"8\\n2 5\\n2 10\\n3 3\\n2 1\\n14 0\\n4 18\\n1 1010000000\\n1000100000 2\\n\", \"8\\n1 4\\n1 5\\n8 3\\n2 1\\n14 17\\n4 14\\n1 1000001000\\n1000100000 1\\n\", \"8\\n1 9\\n1 9\\n3 7\\n2 1\\n14 0\\n6 2\\n1 1010010000\\n1000100000 1\\n\"], \"outputs\": [\"5\\n2\\n2\\n0\\n4\\n4\\n1000000000\\n0\\n\", \"5\\n2\\n2\\n0\\n2\\n4\\n1000000000\\n0\\n\", \"5\\n2\\n2\\n0\\n2\\n4\\n1010000000\\n0\\n\", \"5\\n5\\n2\\n0\\n2\\n4\\n1010000000\\n0\\n\", \"5\\n9\\n2\\n0\\n2\\n4\\n1010000000\\n0\\n\", \"5\\n9\\n2\\n0\\n2\\n4\\n1010001000\\n0\\n\", \"5\\n9\\n2\\n0\\n2\\n4\\n1000001000\\n0\\n\", \"5\\n9\\n2\\n0\\n2\\n0\\n1000001000\\n0\\n\", \"5\\n9\\n1\\n0\\n2\\n0\\n1000001000\\n0\\n\", \"5\\n9\\n1\\n0\\n2\\n0\\n1000001100\\n0\\n\", \"9\\n2\\n2\\n0\\n2\\n4\\n1000000000\\n0\\n\", \"5\\n5\\n2\\n0\\n2\\n4\\n1000000000\\n0\\n\", \"5\\n9\\n2\\n0\\n0\\n4\\n1010000000\\n0\\n\", \"1\\n9\\n2\\n0\\n2\\n4\\n1010001000\\n0\\n\", \"5\\n9\\n2\\n0\\n2\\n4\\n1001001000\\n0\\n\", \"5\\n1\\n1\\n0\\n2\\n0\\n1000001000\\n0\\n\", \"9\\n2\\n2\\n0\\n2\\n1\\n1000000000\\n0\\n\", \"5\\n2\\n2\\n0\\n2\\n4\\n1010010000\\n0\\n\", \"2\\n5\\n2\\n0\\n2\\n4\\n1010000000\\n0\\n\", \"5\\n5\\n2\\n0\\n2\\n4\\n1000001000\\n0\\n\", \"5\\n9\\n2\\n0\\n0\\n4\\n1010010000\\n0\\n\", \"1\\n9\\n2\\n0\\n2\\n7\\n1010001000\\n0\\n\", \"5\\n18\\n2\\n0\\n2\\n0\\n1000001000\\n0\\n\", \"2\\n1\\n1\\n0\\n2\\n0\\n1000001000\\n0\\n\", \"9\\n0\\n2\\n0\\n2\\n1\\n1000000000\\n0\\n\", \"5\\n2\\n1\\n0\\n2\\n4\\n1010010000\\n0\\n\", \"2\\n5\\n2\\n0\\n0\\n4\\n1010000000\\n0\\n\", \"4\\n5\\n2\\n0\\n2\\n4\\n1000001000\\n0\\n\", \"5\\n9\\n2\\n0\\n0\\n0\\n1010010000\\n0\\n\", \"1\\n9\\n2\\n0\\n2\\n11\\n1010001000\\n0\\n\", \"2\\n9\\n2\\n0\\n2\\n4\\n1001001000\\n0\\n\", \"5\\n18\\n2\\n0\\n2\\n0\\n500000500\\n0\\n\", \"2\\n1\\n1\\n0\\n2\\n0\\n1000001010\\n0\\n\", \"5\\n9\\n1\\n0\\n3\\n0\\n1000001100\\n0\\n\", \"9\\n0\\n2\\n0\\n2\\n0\\n1000000000\\n0\\n\", \"5\\n5\\n1\\n0\\n2\\n4\\n1010010000\\n0\\n\", \"4\\n5\\n1\\n0\\n2\\n4\\n1000001000\\n0\\n\", \"9\\n9\\n2\\n0\\n0\\n0\\n1010010000\\n0\\n\", \"2\\n9\\n2\\n0\\n2\\n5\\n1001001000\\n0\\n\", \"5\\n18\\n0\\n0\\n2\\n0\\n500000500\\n0\\n\", \"2\\n1\\n0\\n0\\n2\\n0\\n1000001010\\n0\\n\", \"2\\n5\\n1\\n0\\n0\\n4\\n1010000000\\n0\\n\", \"1\\n9\\n2\\n1\\n2\\n7\\n1010001000\\n0\\n\", \"2\\n9\\n2\\n0\\n5\\n5\\n1001001000\\n0\\n\", \"5\\n18\\n0\\n0\\n1\\n0\\n500000500\\n0\\n\", \"6\\n0\\n2\\n0\\n2\\n0\\n1000000000\\n0\\n\", \"5\\n5\\n1\\n0\\n0\\n4\\n1010010000\\n0\\n\", \"2\\n5\\n1\\n0\\n0\\n6\\n1010000000\\n0\\n\", \"4\\n5\\n0\\n0\\n2\\n4\\n1000001000\\n0\\n\", \"9\\n9\\n3\\n0\\n0\\n0\\n1010010000\\n0\\n\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "cc-06499", "n_tests": 50, "public_tests": "{\"inputs\": [\"5 6\\n3 1 4 1 5\\n2 2 5\\n2 1 3\\n1 4 4\\n2 2 5\\n1 2 6\\n2 2 5\\n\", \"10 20\\n1 9 15 26 8 4 25 24 23 14\\n2 8 9\\n1 8 20\\n2 8 8\\n1 6 21\\n1 9 15\\n2 8 10\\n1 2 23\\n1 10 4\\n1 3 13\\n2 6 7\\n1 1 19\\n1 1 18\\n1 4 2\\n2 5 5\\n1 1 2\\n1 6 17\\n1 4 10\\n1 7 5\\n2 1 7\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1 6 17\\n1 4 10\\n1 7 5\\n2 1 7\\n2 9 9\\n\", \"10 20\\n1 9 15 26 8 4 24 24 23 14\\n2 8 9\\n1 8 20\\n2 8 8\\n1 6 21\\n1 9 15\\n2 8 10\\n1 2 33\\n1 10 4\\n1 3 13\\n2 6 7\\n1 1 19\\n1 1 18\\n1 4 2\\n2 5 5\\n1 1 2\\n1 6 17\\n1 4 5\\n1 7 5\\n2 1 9\\n1 9 9\\n\", \"10 20\\n1 9 15 26 8 4 25 13 23 14\\n2 8 9\\n1 8 20\\n2 8 8\\n1 6 21\\n1 2 15\\n2 8 10\\n1 2 33\\n1 10 4\\n1 3 1\\n2 6 7\\n1 1 19\\n1 1 14\\n1 4 2\\n2 5 5\\n1 1 2\\n1 6 17\\n1 4 10\\n1 7 5\\n2 1 7\\n2 9 9\\n\", \"10 20\\n1 9 15 26 8 4 24 24 23 14\\n2 8 9\\n1 8 20\\n2 8 8\\n1 6 21\\n1 9 15\\n2 8 10\\n1 2 33\\n1 10 4\\n1 3 13\\n2 6 10\\n1 1 19\\n1 1 18\\n1 4 2\\n2 5 5\\n1 1 2\\n1 6 17\\n1 4 5\\n1 7 5\\n2 1 9\\n1 9 9\\n\", \"10 20\\n1 9 15 26 8 4 25 24 23 14\\n2 8 9\\n1 8 20\\n2 8 8\\n1 6 21\\n1 9 15\\n2 8 10\\n1 2 23\\n1 10 4\\n1 3 13\\n2 6 7\\n1 1 19\\n1 1 18\\n1 4 2\\n2 3 5\\n1 1 2\\n1 6 17\\n1 4 10\\n1 7 5\\n2 1 7\\n1 9 28\\n\", \"5 6\\n3 1 4 1 5\\n2 4 5\\n2 1 3\\n1 4 4\\n2 2 5\\n1 2 6\\n2 2 5\\n\", \"10 20\\n1 9 15 26 8 4 25 24 23 14\\n2 8 9\\n1 8 20\\n2 8 8\\n1 6 21\\n1 9 15\\n2 8 10\\n1 2 23\\n1 10 4\\n1 3 13\\n2 6 7\\n1 1 19\\n1 1 18\\n1 4 2\\n2 5 8\\n1 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\n\", \"2\\n-1\\n1\\n2\\n-1\\n\", \"-1\\n-1\\n1\\n2\\n-1\\n\", \"2\\n-1\\n1\\n2\\n-1\\n\", \"-1\\n-1\\n1\\n2\\n-1\\n\", \"2\\n-1\\n1\\n2\\n-1\\n\", \"2\\n-1\\n1\\n2\\n-1\\n\", \"-1\\n-1\\n1\\n2\\n-1\\n\", \"2\\n-1\\n1\\n2\\n-1\\n\", \"2\\n-1\\n1\\n2\\n-1\\n\", \"2\\n-1\\n1\\n2\\n-1\\n\", \"-1\\n-1\\n1\\n2\\n-1\\n\", \"2\\n-1\\n1\\n-1\\n-1\\n\", \"2\\n-1\\n1\\n2\\n-1\\n\", \"2\\n-1\\n1\\n2\\n-1\\n\", \"2\\n-1\\n1\\n2\\n-1\\n\", \"2\\n-1\\n1\\n2\\n-1\\n\", \"2\\n-1\\n1\\n2\\n-1\\n\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-00002", "n_tests": 1, "public_tests": "{\"inputs\": [\"6\\n5\\n1 4 3 2 1\\n6\\n2 4 1 3 2 1\\n4\\n2 1 1 3\\n4\\n1 3 3 1\\n12\\n2 1 3 4 5 6 7 8 9 1 10 2\\n3\\n1 1 1\\n\"], \"outputs\": [\"2\\n1 4\\n4 1\\n1\\n4 2\\n0\\n0\\n1\\n2 10\\n0\\n\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-00007", "n_tests": 1, "public_tests": "{\"inputs\": [\"7\\n69\\n0\\n1\\n4\\n5\\n999\\n1000\\n\"], \"outputs\": [\"Y 67.985071301 1.014928699\\nY 0.000000000 0.000000000\\nN\\nY 2.000000000 2.000000000\\nY 3.618033989 1.381966011\\nY 997.998996990 1.001003010\\nY 998.998997995 1.001002005\\n\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-00012", "n_tests": 1, "public_tests": "{\"inputs\": [\"4\\n1 1000\\n1024 1024\\n65536 65536\\n999999 1000001\\n\"], \"outputs\": [\"1000\\n1\\n0\\n2\\n\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-00017", "n_tests": 1, "public_tests": "{\"inputs\": [\"7\\n4\\n-3 5 -3 1\\n2\\n1 -1\\n4\\n-3 2 -3 4\\n4\\n-1 1 1 -1\\n7\\n-5 7 -6 -4 17 -13 4\\n6\\n-1000000000 -1000000000 -1000000000 1000000000 1000000000 1000000000\\n1\\n0\\n\"], \"outputs\": [\"3\\n0\\n4\\n1\\n8\\n3000000000\\n0\\n\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-00022", "n_tests": 1, "public_tests": "{\"inputs\": [\"3\\n4\\n1 3 4 2\\n1 2 2 3\\n5\\n2 3 4 5 1\\n1 2 3 4 5\\n8\\n7 4 5 6 1 8 3 2\\n5 3 6 4 7 5 8 4\\n\"], \"outputs\": [\"1\\n5\\n2\\n\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-00027", "n_tests": 1, "public_tests": "{\"inputs\": [[\"\\\"aababcaab\\\"\", 2, 3, 4]], \"outputs\": [2], \"testtype\": \"functional\", \"fn_name\": \"maxFreq\", \"starter_code\": \"\\nclass Solution:\\n def maxFreq(self, s: str, maxLetters: int, minSize: int, maxSize: int) -> int:\\n \", \"time_limit\": 6.0}"}
{"id": "apps-00032", "n_tests": 1, "public_tests": "{\"inputs\": [[20]], \"outputs\": [1], \"testtype\": \"functional\", \"fn_name\": \"numDupDigitsAtMostN\", \"starter_code\": \"\\nclass Solution:\\n def numDupDigitsAtMostN(self, N: int) -> int:\\n \", \"time_limit\": 6.0}"}
{"id": "apps-00037", "n_tests": 1, "public_tests": "{\"inputs\": [[[3, 10, 5, 25, 2, 8]]], \"outputs\": [28], \"testtype\": \"functional\", \"fn_name\": \"findMaximumXOR\", \"starter_code\": \"\\nclass Solution:\\n def findMaximumXOR(self, nums: List[int]) -> int:\\n \", \"time_limit\": 6.0}"}
{"id": "apps-00042", "n_tests": 1, "public_tests": "{\"inputs\": [[[4, 1, 8, 7]]], \"outputs\": [true], \"testtype\": \"functional\", \"fn_name\": \"judgePoint24\", \"starter_code\": \"\\nclass Solution:\\n def judgePoint24(self, nums: List[int]) -> bool:\\n \", \"time_limit\": 6.0}"}
{"id": "apps-00047", "n_tests": 1, "public_tests": "{\"inputs\": [[[5, 0, 3, 8, 6]]], \"outputs\": [3], \"testtype\": \"functional\", \"fn_name\": \"partitionDisjoint\", \"starter_code\": \"\\nclass Solution:\\n def partitionDisjoint(self, A: List[int]) -> int:\\n \", \"time_limit\": 6.0}"}
{"id": "apps-00052", "n_tests": 1, "public_tests": "{\"inputs\": [[\"\\\"abac\\\"\", \"\\\"cab\\\"\"]], \"outputs\": [\"\\\"cabac\\\"\"], \"testtype\": \"functional\", \"fn_name\": \"shortestCommonSupersequence\", \"starter_code\": \"\\nclass Solution:\\n def shortestCommonSupersequence(self, str1: str, str2: str) -> str:\\n \", \"time_limit\": 6.0}"}
{"id": "apps-00057", "n_tests": 1, "public_tests": "{\"inputs\": [[\"\\\"9,3,4,#,#,1,#,#,2,#,6,#,#\\\"\"]], \"outputs\": [false], \"testtype\": \"functional\", \"fn_name\": \"isValidSerialization\", \"starter_code\": \"\\nclass Solution:\\n def isValidSerialization(self, preorder: str) -> bool:\\n \", \"time_limit\": 6.0}"}
{"id": "apps-00062", "n_tests": 1, "public_tests": "{\"inputs\": [[1, 2]], \"outputs\": [2], \"testtype\": \"functional\", \"fn_name\": \"superEggDrop\", \"starter_code\": \"\\nclass Solution:\\n def superEggDrop(self, K: int, N: int) -> int:\\n \", \"time_limit\": 6.0}"}
{"id": "apps-00067", "n_tests": 1, "public_tests": "{\"inputs\": [[555]], \"outputs\": [888], \"testtype\": \"functional\", \"fn_name\": \"maxDiff\", \"starter_code\": \"\\nclass Solution:\\n def maxDiff(self, num: int) -> int:\\n \", \"time_limit\": 6.0}"}
{"id": "apps-00072", "n_tests": 1, "public_tests": "{\"inputs\": [[\"\\\"ADOBECODEBANC\\\"\", \"\\\"ABC\\\"\"]], \"outputs\": [\"\\\"ADOBECODEBANC\\\"\"], \"testtype\": \"functional\", \"fn_name\": \"minWindow\", \"starter_code\": \"\\nclass Solution:\\n def minWindow(self, s: str, t: str) -> str:\\n \", \"time_limit\": 6.0}"}
{"id": "apps-00077", "n_tests": 1, "public_tests": "{\"inputs\": [[\"\\\"ababa\\\"\"]], \"outputs\": [3], \"testtype\": \"functional\", \"fn_name\": \"maxRepOpt1\", \"starter_code\": \"\\nclass Solution:\\n def maxRepOpt1(self, text: str) -> int:\\n \", \"time_limit\": 6.0}"}
{"id": "apps-00082", "n_tests": 1, "public_tests": "{\"inputs\": [[[1, 2, 3, 2, 1], [3, 2, 1, 4, 7]]], \"outputs\": [3], \"testtype\": \"functional\", \"fn_name\": \"findLength\", \"starter_code\": \"\\nclass Solution:\\n def findLength(self, A: List[int], B: List[int]) -> int:\\n \", \"time_limit\": 6.0}"}
{"id": "apps-00087", "n_tests": 1, "public_tests": "{\"inputs\": [[[2, 1, 3]]], \"outputs\": [12], \"testtype\": \"functional\", \"fn_name\": \"countTriplets\", \"starter_code\": \"\\nclass Solution:\\n def countTriplets(self, A: List[int]) -> int:\\n \", \"time_limit\": 6.0}"}
{"id": "apps-00092", "n_tests": 1, "public_tests": "{\"inputs\": [[7]], \"outputs\": [2], \"testtype\": \"functional\", \"fn_name\": \"findMinFibonacciNumbers\", \"starter_code\": \"\\nclass Solution:\\n def findMinFibonacciNumbers(self, k: int) -> int:\\n \", \"time_limit\": 6.0}"}
{"id": "apps-00097", "n_tests": 1, "public_tests": "{\"inputs\": [[[1, 5, 2]]], \"outputs\": [false], \"testtype\": \"functional\", \"fn_name\": \"PredictTheWinner\", \"starter_code\": \"\\nclass Solution:\\n def PredictTheWinner(self, nums: List[int]) -> bool:\\n \", \"time_limit\": 6.0}"}
{"id": "apps-00102", "n_tests": 1, "public_tests": "{\"inputs\": [[\"\\\"ababccc\\\"\"]], \"outputs\": [6], \"testtype\": \"functional\", \"fn_name\": \"maxUniqueSplit\", \"starter_code\": \"\\nclass Solution:\\n def maxUniqueSplit(self, s: str) -> int:\\n \", \"time_limit\": 6.0}"}
{"id": "apps-00107", "n_tests": 1, "public_tests": "{\"inputs\": [[[0]]], \"outputs\": [1], \"testtype\": \"functional\", \"fn_name\": \"subarrayBitwiseORs\", \"starter_code\": \"\\nclass Solution:\\n def subarrayBitwiseORs(self, A: List[int]) -> int:\\n \", \"time_limit\": 6.0}"}
{"id": "apps-00112", "n_tests": 1, "public_tests": "{\"inputs\": [[[1, 2, 3, 4, 5, 6, 7, 8]]], \"outputs\": [5], \"testtype\": \"functional\", \"fn_name\": \"lenLongestFibSubseq\", \"starter_code\": \"\\nclass Solution:\\n def lenLongestFibSubseq(self, A: List[int]) -> int:\\n \", \"time_limit\": 6.0}"}
{"id": "apps-00117", "n_tests": 1, "public_tests": "{\"inputs\": [[[1, 1, 1, 0, 0, 0, 1, 1, 1, 1, 0], 2]], \"outputs\": [6], \"testtype\": \"functional\", \"fn_name\": \"longestOnes\", \"starter_code\": \"\\nclass Solution:\\n def longestOnes(self, A: List[int], K: int) -> int:\\n \", \"time_limit\": 6.0}"}
{"id": "apps-00122", "n_tests": 1, "public_tests": "{\"inputs\": [[[1, 4], 2]], \"outputs\": [4], \"testtype\": \"functional\", \"fn_name\": \"findPoisonedDuration\", \"starter_code\": \"\\nclass Solution:\\n def findPoisonedDuration(self, timeSeries: List[int], duration: int) -> int:\\n \", \"time_limit\": 6.0}"}
{"id": "apps-00127", "n_tests": 1, "public_tests": "{\"inputs\": [[[5, 4, 3, 2, 1], [1, 1, 2, 2, 3], 3, 1]], \"outputs\": [9], \"testtype\": \"functional\", \"fn_name\": \"largestValsFromLabels\", \"starter_code\": \"\\nclass Solution:\\n def largestValsFromLabels(self, values: List[int], labels: List[int], num_wanted: int, use_limit: int) -> int:\\n \", \"time_limit\": 6.0}"}
{"id": "apps-00132", "n_tests": 1, "public_tests": "{\"inputs\": [[[\"\\\"cat\\\"\", \"\\\"bat\\\"\", \"\\\"rat\\\"\"], \"\\\"the cattle was rattled by the battery\\\"\"]], \"outputs\": [\"\\\"the cattle was rattled by the battery\\\"\"], \"testtype\": \"functional\", \"fn_name\": \"replaceWords\", \"starter_code\": \"\\nclass Solution:\\n def replaceWords(self, dictionary: List[str], sentence: str) -> str:\\n \", \"time_limit\": 6.0}"}
{"id": "apps-00137", "n_tests": 1, "public_tests": "{\"inputs\": [[[1, 0, 5]]], \"outputs\": [3], \"testtype\": \"functional\", \"fn_name\": \"findMinMoves\", \"starter_code\": \"\\nclass Solution:\\n def findMinMoves(self, machines: List[int]) -> int:\\n \", \"time_limit\": 6.0}"}
{"id": "apps-00142", "n_tests": 1, "public_tests": "{\"inputs\": [[[1, 2, 5, 9], 6]], \"outputs\": [5], \"testtype\": \"functional\", \"fn_name\": \"smallestDivisor\", \"starter_code\": \"\\nclass Solution:\\n def smallestDivisor(self, nums: List[int], threshold: int) -> int:\\n \", \"time_limit\": 6.0}"}
{"id": "apps-00147", "n_tests": 1, "public_tests": "{\"inputs\": [[[1, 1, 1, 1, 1], 2]], \"outputs\": [2], \"testtype\": \"functional\", \"fn_name\": \"maxNonOverlapping\", \"starter_code\": \"\\nclass Solution:\\n def maxNonOverlapping(self, nums: List[int], target: int) -> int:\\n \", \"time_limit\": 6.0}"}
{"id": "apps-00152", "n_tests": 1, "public_tests": "{\"inputs\": [[[2, 3, 1, 1, 4]]], \"outputs\": [true], \"testtype\": \"functional\", \"fn_name\": \"canJump\", \"starter_code\": \"\\nclass Solution:\\n def canJump(self, nums: List[int]) -> bool:\\n \", \"time_limit\": 6.0}"}
{"id": "apps-00157", "n_tests": 1, "public_tests": "{\"inputs\": [[\"\\\"WRRBBW\\\"\", \"\\\"RB\\\"\"]], \"outputs\": [-1], \"testtype\": \"functional\", \"fn_name\": \"findMinStep\", \"starter_code\": \"\\nclass Solution:\\n def findMinStep(self, board: str, hand: str) -> int:\\n \", \"time_limit\": 6.0}"}
{"id": "apps-00162", "n_tests": 1, "public_tests": "{\"inputs\": [[\"\\\"input\\\"\", \"\\\"ouput\\\"\", 9]], \"outputs\": [true], \"testtype\": \"functional\", \"fn_name\": \"canConvertString\", \"starter_code\": \"\\nclass Solution:\\n def canConvertString(self, s: str, t: str, k: int) -> bool:\\n \", \"time_limit\": 6.0}"}
{"id": "apps-00167", "n_tests": 1, "public_tests": "{\"inputs\": [[2]], \"outputs\": [2], \"testtype\": \"functional\", \"fn_name\": \"countArrangement\", \"starter_code\": \"\\nclass Solution:\\n def countArrangement(self, N: int) -> int:\\n \", \"time_limit\": 6.0}"}
{"id": "apps-00172", "n_tests": 1, "public_tests": "{\"inputs\": [[[\"\\\"A\\\"\", \"\\\"A\\\"\", \"\\\"A\\\"\", \"\\\"B\\\"\", \"\\\"B\\\"\", \"\\\"B\\\"\"], 2]], \"outputs\": [8], \"testtype\": \"functional\", \"fn_name\": \"leastInterval\", \"starter_code\": \"\\nclass Solution:\\n def leastInterval(self, tasks: List[str], n: int) -> int:\\n \", \"time_limit\": 6.0}"}
{"id": "apps-00177", "n_tests": 1, "public_tests": "{\"inputs\": [[3, 19]], \"outputs\": [5], \"testtype\": \"functional\", \"fn_name\": \"leastOpsExpressTarget\", \"starter_code\": \"\\nclass Solution:\\n def leastOpsExpressTarget(self, x: int, target: int) -> int:\\n \", \"time_limit\": 6.0}"}
{"id": "apps-00182", "n_tests": 1, "public_tests": "{\"inputs\": [[\"\\\"abcabcabc\\\"\"]], \"outputs\": [3], \"testtype\": \"functional\", \"fn_name\": \"distinctEchoSubstrings\", \"starter_code\": \"\\nclass Solution:\\n def distinctEchoSubstrings(self, text: str) -> int:\\n \", \"time_limit\": 6.0}"}
{"id": "apps-00187", "n_tests": 1, "public_tests": "{\"inputs\": [[[1, 0, 2]]], \"outputs\": [5], \"testtype\": \"functional\", \"fn_name\": \"candy\", \"starter_code\": \"\\nclass Solution:\\n def candy(self, ratings: List[int]) -> int:\\n \", \"time_limit\": 6.0}"}
{"id": "apps-00192", "n_tests": 1, "public_tests": "{\"inputs\": [[\"\\\"level\\\"\"]], \"outputs\": [\"\\\"\"], \"testtype\": \"functional\", \"fn_name\": \"longestPrefix\", \"starter_code\": \"\\nclass Solution:\\n def longestPrefix(self, s: str) -> str:\\n \", \"time_limit\": 6.0}"}
{"id": "apps-00197", "n_tests": 1, "public_tests": "{\"inputs\": [[[1, 3], 6]], \"outputs\": [1], \"testtype\": \"functional\", \"fn_name\": \"minPatches\", \"starter_code\": \"\\nclass Solution:\\n def minPatches(self, nums: List[int], n: int) -> int:\\n \", \"time_limit\": 6.0}"}
{"id": "apps-00202", "n_tests": 1, "public_tests": "{\"inputs\": [[[1, 2, 3, 4]]], \"outputs\": [false], \"testtype\": \"functional\", \"fn_name\": \"find132pattern\", \"starter_code\": \"\\nclass Solution:\\n def find132pattern(self, nums: List[int]) -> bool:\\n \", \"time_limit\": 6.0}"}
{"id": "apps-00207", "n_tests": 1, "public_tests": "{\"inputs\": [[\"\\\"abaac\\\"\", [1, 2, 3, 4, 5]]], \"outputs\": [4], \"testtype\": \"functional\", \"fn_name\": \"minCost\", \"starter_code\": \"\\nclass Solution:\\n def minCost(self, s: str, cost: List[int]) -> int:\\n \", \"time_limit\": 6.0}"}
{"id": "apps-00212", "n_tests": 1, "public_tests": "{\"inputs\": [[\"\\\"/home/\\\"\"]], \"outputs\": [\"/\\\"/home/\\\"\"], \"testtype\": \"functional\", \"fn_name\": \"simplifyPath\", \"starter_code\": \"\\nclass Solution:\\n def simplifyPath(self, path: str) -> str:\\n \", \"time_limit\": 6.0}"}
{"id": "apps-00217", "n_tests": 1, "public_tests": "{\"inputs\": [[[1, 1, 2, 1, 1], 3]], \"outputs\": [2], \"testtype\": \"functional\", \"fn_name\": \"numberOfSubarrays\", \"starter_code\": \"\\nclass Solution:\\n def numberOfSubarrays(self, nums: List[int], k: int) -> int:\\n \", \"time_limit\": 6.0}"}
{"id": "apps-00222", "n_tests": 1, "public_tests": "{\"inputs\": [[[\"\\\"a\\\"\", \"\\\"b\\\"\", \"\\\"ba\\\"\", \"\\\"bca\\\"\", \"\\\"bda\\\"\", \"\\\"bdca\\\"\"]]], \"outputs\": [4], \"testtype\": \"functional\", \"fn_name\": \"longestStrChain\", \"starter_code\": \"\\nclass Solution:\\n def longestStrChain(self, words: List[str]) -> int:\\n \", \"time_limit\": 6.0}"}
{"id": "apps-00227", "n_tests": 1, "public_tests": "{\"inputs\": [[[1, 0, 0, 0, 1, 0, 1]]], \"outputs\": [2], \"testtype\": \"functional\", \"fn_name\": \"maxDistToClosest\", \"starter_code\": \"\\nclass Solution:\\n def maxDistToClosest(self, seats: List[int]) -> int:\\n \", \"time_limit\": 6.0}"}
{"id": "apps-00232", "n_tests": 1, "public_tests": "{\"inputs\": [[3, 5, 4]], \"outputs\": [true], \"testtype\": \"functional\", \"fn_name\": \"canMeasureWater\", \"starter_code\": \"\\nclass Solution:\\n def canMeasureWater(self, x: int, y: int, z: int) -> bool:\\n \", \"time_limit\": 6.0}"}
{"id": "apps-00237", "n_tests": 1, "public_tests": "{\"inputs\": [[[[1, 2, 7], [3, 6, 7], [], []], 1, 6]], \"outputs\": [2], \"testtype\": \"functional\", \"fn_name\": \"numBusesToDestination\", \"starter_code\": \"\\nclass Solution:\\n def numBusesToDestination(self, routes: List[List[int]], S: int, T: int) -> int:\\n \", \"time_limit\": 6.0}"}
{"id": "apps-00242", "n_tests": 1, "public_tests": "{\"inputs\": [[[1, 2, 3]]], \"outputs\": [6], \"testtype\": \"functional\", \"fn_name\": \"minScoreTriangulation\", \"starter_code\": \"\\nclass Solution:\\n def minScoreTriangulation(self, A: List[int]) -> int:\\n \", \"time_limit\": 6.0}"}
{"id": "apps-00247", "n_tests": 1, "public_tests": "{\"inputs\": [[7, [2, 3, 1, 2, 4, 3]]], \"outputs\": [2], \"testtype\": \"functional\", \"fn_name\": \"minSubArrayLen\", \"starter_code\": \"\\nclass Solution:\\n def minSubArrayLen(self, s: int, nums: List[int]) -> int:\\n \", \"time_limit\": 6.0}"}
{"id": "apps-00252", "n_tests": 1, "public_tests": "{\"inputs\": [[[0, 1, 3, 5, 6]]], \"outputs\": [3], \"testtype\": \"functional\", \"fn_name\": \"hIndex\", \"starter_code\": \"\\nclass Solution:\\n def hIndex(self, citations: List[int]) -> int:\\n \", \"time_limit\": 6.0}"}
{"id": "apps-00257", "n_tests": 1, "public_tests": "{\"inputs\": [[3, 2, 3, 5]], \"outputs\": [4], \"testtype\": \"functional\", \"fn_name\": \"nthUglyNumber\", \"starter_code\": \"\\nclass Solution:\\n def nthUglyNumber(self, n: int, a: int, b: int, c: int) -> int:\\n \", \"time_limit\": 6.0}"}
{"id": "apps-00262", "n_tests": 1, "public_tests": "{\"inputs\": [[[1, 1, 1], 2]], \"outputs\": [2], \"testtype\": \"functional\", \"fn_name\": \"subarraySum\", \"starter_code\": \"\\nclass Solution:\\n def subarraySum(self, nums: List[int], k: int) -> int:\\n \", \"time_limit\": 6.0}"}
{"id": "apps-00267", "n_tests": 1, "public_tests": "{\"inputs\": [[[9, 1, 2, 3, 9], 3]], \"outputs\": [20.0], \"testtype\": \"functional\", \"fn_name\": \"largestSumOfAverages\", \"starter_code\": \"\\nclass Solution:\\n def largestSumOfAverages(self, A: List[int], K: int) -> float:\\n \", \"time_limit\": 6.0}"}
{"id": "apps-00272", "n_tests": 1, "public_tests": "{\"inputs\": [[\"\\\"leetcode\\\"\", [\"\\\"leet\\\"\", \"\\\"code\\\"\"]]], \"outputs\": [false], \"testtype\": \"functional\", \"fn_name\": \"wordBreak\", \"starter_code\": \"\\nclass Solution:\\n def wordBreak(self, s: str, wordDict: List[str]) -> bool:\\n \", \"time_limit\": 6.0}"}
{"id": "apps-00277", "n_tests": 1, "public_tests": "{\"inputs\": [[[[2, 5], [3], [0, 4, 5], [1, 4, 5], [2, 3], [0, 2, 3], [], []]]], \"outputs\": [0], \"testtype\": \"functional\", \"fn_name\": \"catMouseGame\", \"starter_code\": \"\\nclass Solution:\\n def catMouseGame(self, graph: List[List[int]]) -> int:\\n \", \"time_limit\": 6.0}"}
{"id": "apps-00282", "n_tests": 1, "public_tests": "{\"inputs\": [[\"\\\"abab\\\"\"]], \"outputs\": [\"bab\\\"\"], \"testtype\": \"functional\", \"fn_name\": \"lastSubstring\", \"starter_code\": \"\\nclass Solution:\\n def lastSubstring(self, s: str) -> str:\\n \", \"time_limit\": 6.0}"}
{"id": "apps-00287", "n_tests": 1, "public_tests": "{\"inputs\": [[1]], \"outputs\": [1], \"testtype\": \"functional\", \"fn_name\": \"countOrders\", \"starter_code\": \"\\nclass Solution:\\n def countOrders(self, n: int) -> int:\\n \", \"time_limit\": 6.0}"}
{"id": "apps-00292", "n_tests": 1, "public_tests": "{\"inputs\": [[[1, 2, 3, 3, 4, 4, 5, 6], 4]], \"outputs\": [true], \"testtype\": \"functional\", \"fn_name\": \"isPossibleDivide\", \"starter_code\": \"\\nclass Solution:\\n def isPossibleDivide(self, nums: List[int], k: int) -> bool:\\n \", \"time_limit\": 6.0}"}
{"id": "apps-00297", "n_tests": 1, "public_tests": "{\"inputs\": [[\"\\\"leet2code3\\\"\", 10]], \"outputs\": [\"t\"], \"testtype\": \"functional\", \"fn_name\": \"decodeAtIndex\", \"starter_code\": \"\\nclass Solution:\\n def decodeAtIndex(self, S: str, K: int) -> str:\\n \", \"time_limit\": 6.0}"}
{"id": "apps-00302", "n_tests": 1, "public_tests": "{\"inputs\": [[[2, 5, 3, 4, 1]]], \"outputs\": [3], \"testtype\": \"functional\", \"fn_name\": \"numTeams\", \"starter_code\": \"\\nclass Solution:\\n def numTeams(self, rating: List[int]) -> int:\\n \", \"time_limit\": 6.0}"}
{"id": "apps-00307", "n_tests": 1, "public_tests": "{\"inputs\": [[[23, 2, 4, 6, 7], 6]], \"outputs\": [true], \"testtype\": \"functional\", \"fn_name\": \"checkSubarraySum\", \"starter_code\": \"\\nclass Solution:\\n def checkSubarraySum(self, nums: List[int], k: int) -> bool:\\n \", \"time_limit\": 6.0}"}
{"id": "apps-00312", "n_tests": 1, "public_tests": "{\"inputs\": [[2736]], \"outputs\": [7236], \"testtype\": \"functional\", \"fn_name\": \"maximumSwap\", \"starter_code\": \"\\nclass Solution:\\n def maximumSwap(self, num: int) -> int:\\n \", \"time_limit\": 6.0}"}
{"id": "apps-00317", "n_tests": 1, "public_tests": "{\"inputs\": [[[5, 4, 0, 3, 1, 6, 2]]], \"outputs\": [4], \"testtype\": \"functional\", \"fn_name\": \"arrayNesting\", \"starter_code\": \"\\nclass Solution:\\n def arrayNesting(self, nums: List[int]) -> int:\\n \", \"time_limit\": 6.0}"}
{"id": "apps-00322", "n_tests": 1, "public_tests": "{\"inputs\": [[\"\\\"LeetCode@LeetCode.com\\\"\"]], \"outputs\": [\"\\\"*****e@leetcode.com\\\"\"], \"testtype\": \"functional\", \"fn_name\": \"maskPII\", \"starter_code\": \"\\nclass Solution:\\n def maskPII(self, S: str) -> str:\\n\", \"time_limit\": 6.0}"}
{"id": "apps-00327", "n_tests": 1, "public_tests": "{\"inputs\": [[[4, 2, 3, 0, 3, 1, 2], 5]], \"outputs\": [true], \"testtype\": \"functional\", \"fn_name\": \"canReach\", \"starter_code\": \"\\nclass Solution:\\n def canReach(self, arr: List[int], start: int) -> bool:\\n \", \"time_limit\": 6.0}"}
{"id": "apps-00332", "n_tests": 1, "public_tests": "{\"inputs\": [[[2, 2, 3, 2]]], \"outputs\": [3], \"testtype\": \"functional\", \"fn_name\": \"singleNumber\", \"starter_code\": \"\\nclass Solution:\\n def singleNumber(self, nums: List[int]) -> int:\\n \", \"time_limit\": 6.0}"}
{"id": "apps-00337", "n_tests": 1, "public_tests": "{\"inputs\": [[[1, 8, 6, 2, 5, 4, 8, 3, 7]]], \"outputs\": [49], \"testtype\": \"functional\", \"fn_name\": \"maxArea\", \"starter_code\": \"\\nclass Solution:\\n def maxArea(self, height: List[int]) -> int:\\n \", \"time_limit\": 6.0}"}
{"id": "apps-00342", "n_tests": 1, "public_tests": "{\"inputs\": [[[6, 0, 8, 2, 1, 5]]], \"outputs\": [4], \"testtype\": \"functional\", \"fn_name\": \"maxWidthRamp\", \"starter_code\": \"\\nclass Solution:\\n def maxWidthRamp(self, A: List[int]) -> int:\\n \", \"time_limit\": 6.0}"}
{"id": "apps-00347", "n_tests": 1, "public_tests": "{\"inputs\": [[[1, 2, 2]]], \"outputs\": [1], \"testtype\": \"functional\", \"fn_name\": \"minIncrementForUnique\", \"starter_code\": \"\\nclass Solution:\\n def minIncrementForUnique(self, A: List[int]) -> int:\\n \", \"time_limit\": 6.0}"}
{"id": "apps-00352", "n_tests": 1, "public_tests": "{\"inputs\": [[\"\\\"Leetcode is cool\\\"\"]], \"outputs\": [\"Is cool\\\" \\\"leetcode\"], \"testtype\": \"functional\", \"fn_name\": \"arrangeWords\", \"starter_code\": \"\\nclass Solution:\\n def arrangeWords(self, text: str) -> str:\\n \", \"time_limit\": 6.0}"}
{"id": "apps-00357", "n_tests": 1, "public_tests": "{\"inputs\": [\"4 6\\n1 3 2\\n7 13 10\\n18 20 13\\n3 4 2\\n0\\n1\\n2\\n3\\n5\\n8\\n\"], \"outputs\": [\"2\\n2\\n10\\n-1\\n13\\n-1\\n\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-00362", "n_tests": 1, "public_tests": "{\"inputs\": [\"2\\n3 3\\n2 1 3\\n4 100\\n99 2 1000 24\\n\"], \"outputs\": [\"12\\n30000\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-00367", "n_tests": 1, "public_tests": "{\"inputs\": [\"2\\n2\\n0 1\\n0 1\\n2\\n0 1\\n100 1\\n\"], \"outputs\": [\"0.785398163397\\n0.000100999899\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-00372", "n_tests": 1, "public_tests": "{\"inputs\": [\"4\\n2 2 3 4\\n4\\n1 1 2\\n1 3 4\\n2 3 3\\n1 1 4\"], \"outputs\": [\"YES\\nNO\\nYES\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-00377", "n_tests": 1, "public_tests": "{\"inputs\": [\"3\\n3 3\\n1 2\\n1 3\\n2 3\\n4 2\\n1 2\\n3 4\\n5 0\"], \"outputs\": [\"3\\n1\\n0\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-00382", "n_tests": 1, "public_tests": "{\"inputs\": [\"1\\n3 3\\n1 2 4\\n\"], \"outputs\": [\"3\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-00387", "n_tests": 1, "public_tests": "{\"inputs\": [\"1\\n13\"], \"outputs\": [\"2\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-00392", "n_tests": 1, "public_tests": "{\"inputs\": [\"2\\n5\\n2 3 5 1 2\\n3\\n1 2 3\"], \"outputs\": [\"3\\n3\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-00397", "n_tests": 1, "public_tests": "{\"inputs\": [\"2\\n4 9\\n5 2 2 4\\n4 9\\n5 2 18 3\"], \"outputs\": [\"YES\\nNO\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-00402", "n_tests": 1, "public_tests": "{\"inputs\": [\"3\\nabc\\nabc\\na\\nb\\nabba\\nbaab\"], \"outputs\": [\"Yes\\nNo\\nYes\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-00407", "n_tests": 1, "public_tests": "{\"inputs\": [\"4\\n<<<\\n<><\\n<=>\\n<=<\"], \"outputs\": [\"4\\n2\\n2\\n3\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-00412", "n_tests": 1, "public_tests": "{\"inputs\": [\"1\\n)())((()\\n3\\n1 7 6\"], \"outputs\": [\"3\\n8\\n-1\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-00417", "n_tests": 1, "public_tests": "{\"inputs\": [\"3\\n4\\n0 90 180 270\\n2\\n90 210\\n2\\n0 1\"], \"outputs\": [\"0\\n1\\n358\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-00422", "n_tests": 1, "public_tests": "{\"inputs\": [\"5\\n0 1\\n1 1\\n2 1\\n1 3\\n4 6\"], \"outputs\": [\"0\\n1\\n4\\n5\\n46\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-00427", "n_tests": 1, "public_tests": "{\"inputs\": [\"2\\n3 3\\n1 2 1\\n2 3 2\\n1 2 1\\n3 4\\n0 0 0 0\\n0 0 0 0\\n0 0 4 0\"], \"outputs\": [\"Stable\\nUnstable\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-00432", "n_tests": 1, "public_tests": "{\"inputs\": [\"3\\n3\\n1 0 1\\n7\\n1 0 0 0 0 0 1\\n11\\n0 1 0 0 0 0 0 1 0 0 1\\n\"], \"outputs\": [\"NO\\nYES\\nNO\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-00437", "n_tests": 1, "public_tests": "{\"inputs\": [\"2\\n4 5\\nN P N N P\\nN N P N N\\nN P N N N\\nP N N N N\\n3 3\\nN P P\\nP P P\\nP P N\"], \"outputs\": [\"10\\n6\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-00442", "n_tests": 1, "public_tests": "{\"inputs\": [\"5\\n5\\n3\\n6\\n7\\n1\"], \"outputs\": [\"1\\n3\\n5\\n6\\n7\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-00447", "n_tests": 1, "public_tests": "{\"inputs\": [\"4\\n4 0\\n4 47\\n1 0\\n1 1\"], \"outputs\": [\"OFF\\nON\\nOFF\\nON\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-00452", "n_tests": 1, "public_tests": "{\"inputs\": [\"3\\n2 1\\naa\\n2 1\\nd\\n12 3\\ncdmn\\nqweewef\\nqs\\n\\n\"], \"outputs\": [\"Case 1:\\n1\\nCase 2:\\n52\\nCase 3:\\n443568031\\n71288256\\n41317270\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-00457", "n_tests": 1, "public_tests": "{\"inputs\": [\"1\\n3\\n2 3 5\\n2 1 2\\n1 1 1\"], \"outputs\": [\"540\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-00462", "n_tests": 1, "public_tests": "{\"inputs\": [\"5 3\\n1 2 3 4 5\\n1 1 2\\n2 3 4 -1\\n1 1 2\"], \"outputs\": [\"3\\n4\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-00467", "n_tests": 1, "public_tests": "{\"inputs\": [\"1\\n200\\n100\"], \"outputs\": [\"0\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-00472", "n_tests": 1, "public_tests": "{\"inputs\": [\"2\\n2\\n10\"], \"outputs\": [\"1\\n0\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-00477", "n_tests": 1, "public_tests": "{\"inputs\": [\"2\\n3 3\\n2500 2500 2520\\n10 -5 -20\\n10 15 20\\n-15 17 13\\n2 3\\n2125 2098\\n-20 10 -10\\n10 10 -20\"], \"outputs\": [\"2\\n2\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-00482", "n_tests": 1, "public_tests": "{\"inputs\": [\"2\\n1\\n1\\n3\\n2 4 6\"], \"outputs\": [\"1\\n6\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-00487", "n_tests": 1, "public_tests": "{\"inputs\": [\"2\\n7\\n2 1 1 5 5 5 5\\n5\\n5 1 3 2 1\"], \"outputs\": [\"2\\n1\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-00492", "n_tests": 1, "public_tests": "{\"inputs\": [\"3\\n5 10 15\\n2 10 14\\n7 14 10\"], \"outputs\": [\"Elevator\\nStairs\\nStairs\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-00497", "n_tests": 1, "public_tests": "{\"inputs\": [\"6\\n1 2 5 3 10 6\\n6\\nA 1 5\\nM 1 3\\nm 5 6\\ns 3 6\\nU 1 7\\nS 1 2\"], \"outputs\": [\"21\\n5\\n6\\n5\\n2\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-00502", "n_tests": 1, "public_tests": "{\"inputs\": [\"3\\n4 9\\n5 10\\n42 9999999967\"], \"outputs\": [\"6\\n1\\n9999999966\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-00507", "n_tests": 1, "public_tests": "{\"inputs\": [\"3\\n3\\n6\\n8\"], \"outputs\": [\"2\\n5\\n8\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-00512", "n_tests": 1, "public_tests": "{\"inputs\": [\"1\\n3 2\"], \"outputs\": [\"511620149\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-00517", "n_tests": 1, "public_tests": "{\"inputs\": [\"3\\n4\\n7 8 6 4\\n6\\n7 3 10 2 3 8\\n1\\n10\"], \"outputs\": [\"4\\n10\\n0\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-00522", "n_tests": 1, "public_tests": "{\"inputs\": [\"2\\n010001\\n10\"], \"outputs\": [\"4\\n1\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-00527", "n_tests": 1, "public_tests": "{\"inputs\": [\"3\\n2\\n6 1 2 3 4 5 6\\n9 3 3 3 4 4 4 5 5 5\\n2\\n5 2 3 4 5 6\\n7 1 1 2 2 3 3 4\\n3\\n4 1 1 2 3\\n4 1 2 2 3\\n4 1 2 3 3\"], \"outputs\": [\"chef\\n2\\ntie\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-00532", "n_tests": 1, "public_tests": "{\"inputs\": [\"1\\nabba\"], \"outputs\": [\"2\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-00537", "n_tests": 1, "public_tests": "{\"inputs\": [\"6\\n7\"], \"outputs\": [\"5\\n7\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-00542", "n_tests": 1, "public_tests": "{\"inputs\": [\"2\\n2\\n01\\n1 2\\n3\\n100\\n1 5 6\"], \"outputs\": [\"1\\n5\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-00547", "n_tests": 1, "public_tests": "{\"inputs\": [\"1\\n2 2\"], \"outputs\": [\"5.8831725615\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-00552", "n_tests": 1, "public_tests": "{\"inputs\": [\"5\\n1 2 3 4 5\\n3\\n2 1\\n1 3 10\\n2 2\"], \"outputs\": [\"1 120\\n5 50\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-00557", "n_tests": 1, "public_tests": "{\"inputs\": [\"2\\n7\\n2 3\\n4 5 7 8 9 10 14\\n6\\n5 7\\n1 2 8 9 10 11\"], \"outputs\": [\"Yes\\nMultan\\nNo\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-00562", "n_tests": 1, "public_tests": "{\"inputs\": [\"4\\n12345\\n31203\\n2123\\n2300\"], \"outputs\": [\"54321\\n30213\\n3212\\n32\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-00567", "n_tests": 1, "public_tests": "{\"inputs\": [\"1\\n3 0 0 -10 -10 0 0 10 0 0 -3 0 3\"], \"outputs\": [\"1.0000000000\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-00572", "n_tests": 1, "public_tests": "{\"inputs\": [\"3\\n5 2\\n1 4 5 2 3\\n3 1\\n1 4 1\\n4 2\\n3 4 3 5\"], \"outputs\": [\"3\\n2\\n-1\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-00577", "n_tests": 1, "public_tests": "{\"inputs\": [\"5 3\\n3 3 2 4 3 \\n2 1 -1 -2 2 \\n-1 2 4 3 -3 \\n-2 2 3 2 1 \\n3 -1 2 -1 2 \\n1 2 2\\n4 5 2\\n4 2 1\\n\"], \"outputs\": [\"YES\\n19\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-00582", "n_tests": 1, "public_tests": "{\"inputs\": [\"2\\n3\\n4 6 8\\n2 6 6\\n1 4 3\\n1\\n7 7 4\"], \"outputs\": [\"12\\n0\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-00587", "n_tests": 1, "public_tests": "{\"inputs\": [\"3 1\\n6 1 7\"], \"outputs\": [\"6\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-00592", "n_tests": 1, "public_tests": "{\"inputs\": [\"2\\n1 2\\n2 3\"], \"outputs\": [\"YES\\nYES\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-00597", "n_tests": 1, "public_tests": "{\"inputs\": [\"1\\n4\"], \"outputs\": [\"5\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-00602", "n_tests": 1, "public_tests": "{\"inputs\": [\"3 3\\n10 10 10\\n10 10 10\\n10 10 10\\n4\\n1 1 1 1\\n1 1 3 3\\n2 1 3 3\\n3 1 3 3\"], \"outputs\": [\"10\\n90\\n60\\n30\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-00607", "n_tests": 1, "public_tests": "{\"inputs\": [\"1\\n123\\n\"], \"outputs\": [\"123231312\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-00612", "n_tests": 1, "public_tests": "{\"inputs\": [\"4\\n2\\n4\\n5\\n6\"], \"outputs\": [\"Arjuna\\nArjuna\\nBhima\\nArjuna\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-00617", "n_tests": 1, "public_tests": "{\"inputs\": [\"2\\n4\\n1 2 3 4\\n6\\n1 2 3 5 1 4\"], \"outputs\": [\"prekrasnyy\\nne krasivo\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-00622", "n_tests": 1, "public_tests": "{\"inputs\": [\"2\\n4 2\\n5 5\"], \"outputs\": [\"2\\n0\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-00627", "n_tests": 1, "public_tests": "{\"inputs\": [\"2\\n10 3\\n20 2\"], \"outputs\": [\"Case #1: 43\\nCase #2: 180\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-00632", "n_tests": 1, "public_tests": "{\"inputs\": [\"4\\n010111101\\n1011100001011101\\n0110\\n111111\"], \"outputs\": [\"2\\n3\\n0\\n0\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-00637", "n_tests": 1, "public_tests": "{\"inputs\": [\"2\\n5 6\\n3 5 6 8 1\\n3 10\\n5 2 9\"], \"outputs\": [\"NO\\nYES\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-00642", "n_tests": 1, "public_tests": "{\"inputs\": [\"2\\n4\\n1 4 2 3\\n1\\n5\"], \"outputs\": [\"6\\n1\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-00647", "n_tests": 1, "public_tests": "{\"inputs\": [\"2\\n3\\n0 1 1\\n1 1 0\\n3\\n0 1 5\\n5 1 0\"], \"outputs\": [\"Yes\\nNo\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-00652", "n_tests": 1, "public_tests": "{\"inputs\": [\"3\\n4 2 10\\n2 3 5 4\\nI 1 2\\nD 3 4\\n5 2 10\\n-1 -1 -1 -1 -1\\nI 1 3\\nD 3 5\\n6 2 2\\n-1 -1 -1 -1 -1 -1\\nI 1 4\\nD 4 6\"], \"outputs\": [\"1\\n8\\n0\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-00657", "n_tests": 1, "public_tests": "{\"inputs\": [\"2\\n2 Dee\\n101\\n010\\n2 Dum\\n101\\n010\"], \"outputs\": [\"Dum\\nDee\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-00662", "n_tests": 1, "public_tests": "{\"inputs\": [\"3\\n3\\n5\\n7\"], \"outputs\": [\"2\\n2\\n3\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-00667", "n_tests": 1, "public_tests": "{\"inputs\": [\"2\\n1\\n2\\n\\n\"], \"outputs\": [\"Case 1: 1\\nCase 2: 3\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-00672", "n_tests": 1, "public_tests": "{\"inputs\": [\"20 5\\n? 1 5\\n! 3 5 4\\n? 1 5\\n! 1 4 15\\n? 1 5\"], \"outputs\": [\"0\\n1\\n2\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-00677", "n_tests": 1, "public_tests": "{\"inputs\": [\"1\\n5\\n1 2 3 4 5\"], \"outputs\": [\"6\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-00682", "n_tests": 1, "public_tests": "{\"inputs\": [\"2\\n3\\n1 2 3\\n4\\n1 2 1 2\"], \"outputs\": [\"5\\n4\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-00687", "n_tests": 1, "public_tests": "{\"inputs\": [\"1\\n3 3\"], \"outputs\": [\"4\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-00692", "n_tests": 1, "public_tests": "{\"inputs\": [\"2\\n6\\n0 0 8 3\\n1 4 3 2\\n2 1 7 1\\n4 1 2 3\\n3 5 4 6\\n2 3 9 8\\n3\\n3 0 10 2\\n5 5 20 25\\n7 -3 30 32\"], \"outputs\": [\"2 4 5\\n3.16\\n2\\n15.00\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-00697", "n_tests": 1, "public_tests": "{\"inputs\": [\"2\\n6\\n7 -1 2 13 -5 15\\n4\\n6 10 3 12\"], \"outputs\": [\"5\\n3\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-00702", "n_tests": 1, "public_tests": "{\"inputs\": [\"2\\n4\\n16\\n2 4 6 10\\n4\\n20\\n2 8 12 10\"], \"outputs\": [\"2\\n2\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-00707", "n_tests": 1, "public_tests": "{\"inputs\": [\"2\\n4 3\\n4 2 5 1\\n3 5\\n2 5 3\"], \"outputs\": [\"10\\n13\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-00712", "n_tests": 1, "public_tests": "{\"inputs\": [\"1 3 1\"], \"outputs\": [\"6\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-00717", "n_tests": 1, "public_tests": "{\"inputs\": [\"3\\n2 1\\n3 0\\n3 2\"], \"outputs\": [\"2 1\\n1 2 3\\nCAPTAIN AMERICA EVADES\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-00722", "n_tests": 1, "public_tests": "{\"inputs\": [\"1\\n4\\n0 0\\n1000 0\\n1000 2000\\n0 2000\\n2\\n1000 10\\n2000 15\"], \"outputs\": [\"50\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-00727", "n_tests": 1, "public_tests": "{\"inputs\": [\"1\\n5 3\\n1 3 5\\n2 5 2\\n3 4 7\"], \"outputs\": [\"202\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-00732", "n_tests": 1, "public_tests": "{\"inputs\": [\"3\"], \"outputs\": [\"6\\n1 1 1 1 1 2\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-00737", "n_tests": 1, "public_tests": "{\"inputs\": [\"3\\n5 1\\n1 5 10 12 14\\n5\\n5 2\\n5 8 13 16 21\\n3 5\\n5 3\\n2 6 8 11 16\\n2 3 5\"], \"outputs\": [\"1\\n2\\n1\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-00742", "n_tests": 1, "public_tests": "{\"inputs\": [\"1\\n5\\n1 3\\n4 4\\n4 10\\n1 11\\n2 7\"], \"outputs\": [\"2\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-00747", "n_tests": 1, "public_tests": "{\"inputs\": [\"6\\n4 8 6 3 12 9\"], \"outputs\": [\"9 3 6 12 4 8\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-00752", "n_tests": 1, "public_tests": "{\"inputs\": [\"5\\n3 1\\n2 2\\n3 3\\n4 4\\n6 3\"], \"outputs\": [\"impossible\\nimpossible\\naba\\nabba\\nabaaba\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-00757", "n_tests": 1, "public_tests": "{\"inputs\": [\"4\\n2 1 8 1\\n11 1 7 1\\n2 1 8 1\\n11 1 9 1\\n2 1 8 1\\n3 1 3 -2\\n2 1 8 1\\n2 1 2 -2\"], \"outputs\": [\"yes\\nno\\nno\\nyes\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-00762", "n_tests": 1, "public_tests": "{\"inputs\": [\"1\\n3\\n1 2 3\"], \"outputs\": [\"6 1 2\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-00767", "n_tests": 1, "public_tests": "{\"inputs\": [\"1\\n10 6\\n8 8 3 5 3 8 5 7 7 7\"], \"outputs\": [\"37\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-00772", "n_tests": 1, "public_tests": "{\"inputs\": [\"2\\n4\\n47\\n\\n\"], \"outputs\": [\"7\\n74\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-00777", "n_tests": 1, "public_tests": "{\"inputs\": [\"4\"], \"outputs\": [\"4 4 4 4 4 4 4\\n4 3 3 3 3 3 4\\n4 3 2 2 2 3 4\\n4 3 2 1 2 3 4\\n4 3 2 2 2 3 4\\n4 3 3 3 3 3 4\\n4 4 4 4 4 4 4\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-00782", "n_tests": 1, "public_tests": "{\"inputs\": [\"2\\n3 3\\n4 4\"], \"outputs\": [\"NO\\nYES\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-00787", "n_tests": 1, "public_tests": "{\"inputs\": [\"2\\n2 2\\n3 4\"], \"outputs\": [\"4\\n60\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-00792", "n_tests": 1, "public_tests": "{\"inputs\": [\"2\\nABABAB\\nABC\"], \"outputs\": [\"YES\\nNO\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-00797", "n_tests": 1, "public_tests": "{\"inputs\": [\"3\\n3 3\\n1 1 -1\\n4 8\\n1 -1 -1 3\\n3 10\\n-1 -1 -1\\n\"], \"outputs\": [\"3\\n23\\n150\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-00802", "n_tests": 1, "public_tests": "{\"inputs\": [\"5\\n2 1 4 5 3\"], \"outputs\": [\"2\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-00807", "n_tests": 1, "public_tests": "{\"inputs\": [\"2\\n7 2 13\\n1 10 1\\n1 14 2\\n6 4 1\\n2 2 1\\n0 12 2\\n2 11 2\\n0 6 1\\n8 10\\n6 1 20\\n1 5 1\\n2 11 1\\n4 0 1\\n6 8 1\\n0 11 1\\n3 3 1\\n9\"], \"outputs\": [\"2\\n4\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-00812", "n_tests": 1, "public_tests": "{\"inputs\": [\"4 8 4\\n1 2 1 2 5\\n3 5 1 3 4\\n1 2 4 5 11\\n1 1 1 3 12\"], \"outputs\": [\"1\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-00817", "n_tests": 1, "public_tests": "{\"inputs\": [\"2\\n4\\n1 2 3 4\\n1 2\\n2 3\\n2 4\\n5\\n1 2 3 4 5\\n1 2\\n2 3\\n3 4\\n4 5\"], \"outputs\": [\"24\\n15\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-00822", "n_tests": 1, "public_tests": "{\"inputs\": [\"3\\n14:20\\n02:10\\n09:30\"], \"outputs\": [\"50 degree\\n5 degree\\n105 degree\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-00827", "n_tests": 1, "public_tests": "{\"inputs\": [\"2\\n1\\n2\"], \"outputs\": [\"2\\n7\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-00832", "n_tests": 1, "public_tests": "{\"inputs\": [\"1\\n5 1\\n5 2 1 2 5\"], \"outputs\": [\"2 5\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-00837", "n_tests": 1, "public_tests": "{\"inputs\": [\"3\\n1\\n0\\n3\\n0 0 0\\n5\\n0 1 2 1 4\"], \"outputs\": [\"0\\n0\\n3\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-00842", "n_tests": 1, "public_tests": "{\"inputs\": [\"3\\n2 1\\n11\\n2 2\\n11\\n4 1\\n1001\"], \"outputs\": [\"1\\n10\\n0\\n11\\n2\\n1010\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-00847", "n_tests": 1, "public_tests": "{\"inputs\": [\"1\\n5 3\\n0 1\\n2 3\\n3 4\"], \"outputs\": [\"2\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-00852", "n_tests": 1, "public_tests": "{\"inputs\": [\"3\\n15 january\\n31 august\\n10 october\"], \"outputs\": [\"16 july\\n1 march\\n10 april\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-00857", "n_tests": 1, "public_tests": "{\"inputs\": [\"1\\n4\\n1 1 2 3\"], \"outputs\": [\"1\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-00862", "n_tests": 1, "public_tests": "{\"inputs\": [\"2\\n5 5 4 4\\n5 2 3 1\"], \"outputs\": [\"5 5\\n3 5\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-00867", "n_tests": 1, "public_tests": "{\"inputs\": [\"3\\n5 2\\n10 2\\n100 3\"], \"outputs\": [\"4 1\\n6 12\\n76 49152\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-00872", "n_tests": 1, "public_tests": "{\"inputs\": [\"3\\n7\\nULUDLLU\\n4\\nRUUR\\n4\\nLRLR\"], \"outputs\": [\"2\\n0\\n4\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-00877", "n_tests": 1, "public_tests": "{\"inputs\": [\"4\\n2 2\\n1 14\\n30 10\\n31 4\"], \"outputs\": [\"1\\n1\\n3\\n9\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-00882", "n_tests": 1, "public_tests": "{\"inputs\": [\"1\\n001\"], \"outputs\": [\"6\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-00887", "n_tests": 1, "public_tests": "{\"inputs\": [\"2\\nABCB\\nBBC\"], \"outputs\": [\"1\\n1\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-00892", "n_tests": 1, "public_tests": "{\"inputs\": [\"3\\n3\\n2 3 1\\n2\\n2 2\\n3\\n1 2 3\\n\\n\"], \"outputs\": [\"9\\n4\\n9\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-00897", "n_tests": 1, "public_tests": "{\"inputs\": [\"3\\nrama\\nabba\\nabcd\"], \"outputs\": [\"2\\n4\\n0\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-00902", "n_tests": 1, "public_tests": "{\"inputs\": [\"2\\n6 0\\n1 1 1 1 1 1\\n5 1\\n2 4 6 3 4\"], \"outputs\": [\"NO\\nYES\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-00907", "n_tests": 1, "public_tests": "{\"inputs\": [\"2\\n5\\nRBBRG\\n5\\nRBGOV\"], \"outputs\": [\"1\\n0\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-00912", "n_tests": 1, "public_tests": "{\"inputs\": [\"2\\n5 2\\n3 4 5 2 1\\n5 2\\n4 3 2 1 5\"], \"outputs\": [\"3\\n-1\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-00917", "n_tests": 1, "public_tests": "{\"inputs\": [\"6\\n3 100\\n10 1 100\\n3 100\\n11 1 100\\n3 100\\n10 1 10\\n3 100\\n10 1 50\\n4 100\\n50 50 50 50\\n4 100\\n1 1 1 1\"], \"outputs\": [\"yes\\nno\\nno\\nyes\\nno\\nno\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-00922", "n_tests": 1, "public_tests": "{\"inputs\": [\"2\\n10 1\\n5 5\"], \"outputs\": [\"-1 -1\\n1 2\\n2 3\\n3 4\\n4 5\\n5 1\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-00927", "n_tests": 1, "public_tests": "{\"inputs\": [\"1 100 9\\n11 2 10\\n12 2 11\\n0 0 0\"], \"outputs\": [\"9\\n15\\n16\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-00932", "n_tests": 1, "public_tests": "{\"inputs\": [\"2\\n3\\n1 3\\n3 1\\n1 2\\n5\\n1 3\\n2 4\\n1 2\\n3 2\\n3 4\"], \"outputs\": [\"0\\n11\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-00937", "n_tests": 1, "public_tests": "{\"inputs\": [\"6\\n4\\n90 25 60 75\\n8\\n27 29 92 92 67 67 85 92\\n4\\n0 1 2 3\\n4\\n100 100 100 100\\n4\\n30 30 40 50\\n4\\n30 40 40 50\"], \"outputs\": [\"60 75 90\\n-1\\n1 2 3\\n-1\\n-1\\n-1\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-00942", "n_tests": 1, "public_tests": "{\"inputs\": [\"9\"], \"outputs\": [\"1\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-00947", "n_tests": 1, "public_tests": "{\"inputs\": [\"2\\n3\\n1 2\\n1 3\\n1\\n5\\n1 2\\n1 3\\n2 4\\n2 5\\n1\"], \"outputs\": [\"2\\n4\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-00952", "n_tests": 1, "public_tests": "{\"inputs\": [\"2\\n2\\n212\"], \"outputs\": [\"2\\n221\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-00957", "n_tests": 1, "public_tests": "{\"inputs\": [\"3\\nLTIMEAZAZAITLME\\nLLLTTTIIIMMMEEEAHA\\nLTIMEM\"], \"outputs\": [\"YES\\nYES\\nNO\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-00962", "n_tests": 1, "public_tests": "{\"inputs\": [\"2 4 5 5 3\\n1 2 1 3\\n1 2 2 2\\n1 3 2 3\\n1 4 2 4\\n2 1 2 2\\n1 1 30 12\\n1 3 10 15\\n2 3 11 22\"], \"outputs\": [\"48\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-00967", "n_tests": 1, "public_tests": "{\"inputs\": [\"2\\n5 1\\n3 5 2 4 5\\n6 4\\n6 5 4 3 2 1\"], \"outputs\": [\"2\\n4\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-00972", "n_tests": 1, "public_tests": "{\"inputs\": [\"2\\n4 2\\n4 2 5 7\\n2 3\\n3 4\\n2 1\\n1 1\\n2 1\"], \"outputs\": [\"4 3\\n3 2\\n-1 2\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-00977", "n_tests": 1, "public_tests": "{\"inputs\": [\"1\\n2\\n2 3\\n1\"], \"outputs\": [\"7\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-00982", "n_tests": 1, "public_tests": "{\"inputs\": [\"1\\n2 3\"], \"outputs\": [\"6\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-00987", "n_tests": 1, "public_tests": "{\"inputs\": [\"2\\n5\\n2 4 5 7 9\\n4\\n5 4 2 3\"], \"outputs\": [\"6 11 14 4 2\\n4 7 6 5\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-00992", "n_tests": 1, "public_tests": "{\"inputs\": [\"1\\n3 1\\n1 1\\n1 0\\n3 2\"], \"outputs\": [\"2 2\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-00997", "n_tests": 1, "public_tests": "{\"inputs\": [\"4\\n3 -2 -5 -3\\n0 6 1 2\\n-7 8 4 -1\\n3 3 -2 2\"], \"outputs\": [\"A IS CLOSER\\nB IS CLOSER\\nB IS CLOSER\\nB IS CLOSER\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-01002", "n_tests": 1, "public_tests": "{\"inputs\": [\"information\"], \"outputs\": [\"i2n2f1o2r1m1a1t1\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-01007", "n_tests": 1, "public_tests": "{\"inputs\": [\"1\\n3 3\\nbba\"], \"outputs\": [\"aab\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-01012", "n_tests": 1, "public_tests": "{\"inputs\": [\"6 70\"], \"outputs\": [\"76\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-01017", "n_tests": 1, "public_tests": "{\"inputs\": [\"2\\n4 2 2\\n5 1 5\"], \"outputs\": [\"5 7\\n5 31\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-01022", "n_tests": 1, "public_tests": "{\"inputs\": [\"1\\n6 1\\n4 2 15 9 8 8\\n3\"], \"outputs\": [\"2 4\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-01027", "n_tests": 1, "public_tests": "{\"inputs\": [\"2\\n4\\n2 1 4 3\\n4\\n7 6 3 2\"], \"outputs\": [\"30\\n39\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-01032", "n_tests": 1, "public_tests": "{\"inputs\": [\"2 3\\n1 2\\n0 1\\nRDL\"], \"outputs\": [\"4\\n6\\n6\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-01037", "n_tests": 1, "public_tests": "{\"inputs\": [\"6\\n2\\n0 0\\n0 0\\n2\\n1 0\\n0 1\\n2\\n1 0\\n1 0\\n2\\n1 0\\n1 1\\n3\\n1 0 0\\n0 1 1\\n1 1 0\\n4\\n1 1 1 1\\n1 1 1 1\\n1 1 1 1\\n1 1 1 1\\n\\n\"], \"outputs\": [\"0\\n0\\n0\\n1\\n1\\n3\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-01042", "n_tests": 1, "public_tests": "{\"inputs\": [\"1\\n3 2\\n5 7 1\\n1 2\"], \"outputs\": [\"Chef\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-01047", "n_tests": 1, "public_tests": "{\"inputs\": [\"5 5 3\\n1 1 0 1 1\\n?!?!?\"], \"outputs\": [\"2\\n3\\n3\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-01052", "n_tests": 1, "public_tests": "{\"inputs\": [\"5\\n3 7 8\\n3 5 8\\n4 5 8\\n6 7 8\\n1 5 8\"], \"outputs\": [\"2 5\\n4 7\\n3 4\\n5 6\\n1 6\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-01057", "n_tests": 1, "public_tests": "{\"inputs\": [\"3\\nA\\n1A23\\n2C2A\"], \"outputs\": [\"10\\n6691\\n11306\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-01062", "n_tests": 1, "public_tests": "{\"inputs\": [\"cat is the act of tac\\ncat\"], \"outputs\": [\"The antidote is found in 46.\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-01067", "n_tests": 1, "public_tests": "{\"inputs\": [\"1\\n1\"], \"outputs\": [\"1 1\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-01072", "n_tests": 1, "public_tests": "{\"inputs\": [\"4483 2\"], \"outputs\": [\"9983\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-01077", "n_tests": 1, "public_tests": "{\"inputs\": [\"5\\n16\\n1\\n4\\n8\\n2\"], \"outputs\": [\"3\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-01082", "n_tests": 1, "public_tests": "{\"inputs\": [\"2 3\\n1 1\\n1 4\\n2\"], \"outputs\": [\"38\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-01087", "n_tests": 1, "public_tests": "{\"inputs\": [\"2 2\\n00\\n00\\n3\\n1 1 1 1\\n2 2 2 2\\n1 1 2 2\"], \"outputs\": [\"01\\n10\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-01092", "n_tests": 1, "public_tests": "{\"inputs\": [\"2\\n4 4\\n2 2\"], \"outputs\": [\"Tuzik\\nVanya\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-01097", "n_tests": 1, "public_tests": "{\"inputs\": [\"2\\n12 2\\n11 2\"], \"outputs\": [\"1\\n0\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-01102", "n_tests": 1, "public_tests": "{\"inputs\": [\"2\\n2 2\\n3 3\"], \"outputs\": [\"2\\n12\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-01107", "n_tests": 1, "public_tests": "{\"inputs\": [\"3\\n1\\n4\\n2\\n10 5\\n4\\n2 3 1 3\"], \"outputs\": [\"4\\n45\\n0\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-01112", "n_tests": 1, "public_tests": "{\"inputs\": [\"2\\n1\\n2\"], \"outputs\": [\"3\\n8\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-01117", "n_tests": 1, "public_tests": "{\"inputs\": [\"1\\n4 2\"], \"outputs\": [\"1\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-01122", "n_tests": 1, "public_tests": "{\"inputs\": [\"2\\ni do not have any fancy quotes\\nwhen nothing goes right go left\"], \"outputs\": [\"Real Fancy\\nregularly fancy\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-01127", "n_tests": 1, "public_tests": "{\"inputs\": [\"2\\n5\\n11000\\n01001\\n3\\n110\\n001\"], \"outputs\": [\"YES\\nNO\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-01132", "n_tests": 1, "public_tests": "{\"inputs\": [\"1\\n1\\n5\"], \"outputs\": [\"2\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-01137", "n_tests": 1, "public_tests": "{\"inputs\": [\"1\\n4\\n1 2 3 4\"], \"outputs\": [\"3\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-01142", "n_tests": 1, "public_tests": "{\"inputs\": [\"5\\n1 2 3 2 3\"], \"outputs\": [\"3\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-01147", "n_tests": 1, "public_tests": "{\"inputs\": [\"1\\n5 3 96\\n1 3\"], \"outputs\": [\"48\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-01152", "n_tests": 1, "public_tests": "{\"inputs\": [\"1\\n33 100 77 42 12 -1\"], \"outputs\": [\"4 38.91\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-01157", "n_tests": 1, "public_tests": "{\"inputs\": [\"2\\n2\\n10\\n01\\n4\\n1000\\n0010\\n0100\\n0001\"], \"outputs\": [\"3\\n8\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-01162", "n_tests": 1, "public_tests": "{\"inputs\": [\"3\\n3\\n5\\n4 1 2\\n5\\n2\\n4 4 3 2 2\\n5\\n1\\n4 2 3 1 1\"], \"outputs\": [\"Impossible\\nPossible\\nImpossible\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-01167", "n_tests": 10, "public_tests": "{\"inputs\": [[\"apples, pears # and bananas\\ngrapes\\nbananas !apples\", [\"#\", \"!\"]], [\"a #b\\nc\\nd $e f g\", [\"#\", \"$\"]], [\"apples, pears # and bananas\\ngrapes\\nbananas !#apples\", [\"#\", \"!\"]], [\"apples, pears # and bananas\\ngrapes\\nbananas #!apples\", [\"#\", \"!\"]], [\"apples, pears # and bananas\\ngrapes\\navocado @apples\", [\"@\", \"!\"]], [\"apples, pears § and bananas\\ngrapes\\navocado *apples\", [\"*\", \"§\"]], [\"\", [\"#\", \"!\"]], [\"#\", [\"#\", \"!\"]], [\"\\\", [\"#\", \"§\"]], [\"apples, pears # and bananas\\ngrapes\\nbananas !apples\", []]], \"outputs\": [[\"apples, pears\\ngrapes\\nbananas\"], [\"a\\nc\\nd\"], [\"apples, pears\\ngrapes\\nbananas\"], [\"apples, pears\\ngrapes\\nbananas\"], [\"apples, pears # and bananas\\ngrapes\\navocado\"], [\"apples, pears\\ngrapes\\navocado\"], [\"\"], [\"\"], [\"\\n\"], [\"apples, pears # and bananas\\ngrapes\\nbananas !apples\"]], \"testtype\": \"functional\", \"fn_name\": \"solution\", \"starter_code\": \"\\ndef solution(string,markers):\\n\\t\", \"time_limit\": 6.0}"}
{"id": "apps-01172", "n_tests": 12, "public_tests": "{\"inputs\": [[12], [6], [50], [44], [625], [5], [7100], [123456], [1234567], [7654321], [4], [7654322]], \"outputs\": [[[1, 2, 3, 7, 9]], [null], [[1, 3, 5, 8, 49]], [[2, 3, 5, 7, 43]], [[2, 5, 8, 34, 624]], [[3, 4]], [[2, 3, 5, 119, 7099]], [[1, 2, 7, 29, 496, 123455]], [[2, 8, 32, 1571, 1234566]], [[6, 10, 69, 3912, 7654320]], [null], [[1, 4, 11, 69, 3912, 7654321]]], \"testtype\": \"functional\", \"fn_name\": \"decompose\", \"starter_code\": \"\\ndef decompose(n):\\n\\t\", \"time_limit\": 6.0}"}
{"id": "apps-01177", "n_tests": 11, "public_tests": "{\"inputs\": [[[7, 7, 8, 8, 9, 9]], [[9, 7, 8, 8, 9, 7]], [[8, 8, 7, 9, 9, 9, 8, 9, 7]], [[9, 9, 9, 9, 9, 8, 8, 8, 8, 7, 7, 7, 7, 7, 7]], [[9, 9, 9, 7, 7, 8, 9, 7, 8, 9, 7, 9]], [[9, 9, 7, 7, 8, 8]], [[9, 7, 9]], [[8, 7, 8]], [[7, 8, 7, 8]], [[8, 8, 7, 8]], [[8, 8, 7, 7, 8]]], \"outputs\": [[0], [1], [4], [6], [4], [4], [1], [1], [1], [1], [2]], \"testtype\": \"functional\", \"fn_name\": \"exchange_sort\", \"starter_code\": \"\\ndef exchange_sort(sequence):\\n\\t\", \"time_limit\": 6.0}"}
{"id": "apps-01182", "n_tests": 5, "public_tests": "{\"inputs\": [[\"abc\"], [\"abcd\"], [\"abcdx\"], [\"abcdxg\"], [\"abcdxgz\"]], \"outputs\": [[\"bac\"], [\"bdca\"], [\"cbxda\"], [\"cxgdba\"], [\"dczxgba\"]], \"testtype\": \"functional\", \"fn_name\": \"middle_permutation\", \"starter_code\": \"\\ndef middle_permutation(string):\\n\\t\", \"time_limit\": 6.0}"}
{"id": "apps-01187", "n_tests": 1, "public_tests": "{\"inputs\": [[[]]], \"outputs\": [[[]]], \"testtype\": \"functional\", \"fn_name\": \"normalize\", \"starter_code\": \"\\ndef normalize(nested_list, growing_value=0):\\n\\t\", \"time_limit\": 6.0}"}
{"id": "apps-01192", "n_tests": 10, "public_tests": "{\"inputs\": [[12], [513], [2017], [414], [144], [123456789], [1234567890], [9876543210], [9999999999], [59884848459853]], \"outputs\": [[21], [531], [2071], [441], [414], [123456798], [1234567908], [-1], [-1], [59884848483559]], \"testtype\": \"functional\", \"fn_name\": \"next_bigger\", \"starter_code\": \"\\ndef next_bigger(n):\\n\\t\", \"time_limit\": 6.0}"}
{"id": "apps-01197", "n_tests": 6, "public_tests": "{\"inputs\": [[\"happy birthday\", \"appyh appy birth day\"], [\"happy birthday\", \"hhaappyy bbiirrtthhddaayy\"], [\"happy birthday\", \"happy holidays\"], [\"happy birthday\", \"happy birthday\"], [\"happy\", \"hhhappy\"], [\"happy birthday\", \"hhhappyyyy biirrrrrthddaaaayyyyyyy to youuuu\"]], \"outputs\": [[1], [2048], [0], [1], [3], [7680]], \"testtype\": \"functional\", \"fn_name\": \"count_subsequences\", \"starter_code\": \"\\ndef count_subsequences(a, b):\\n\\t\", \"time_limit\": 6.0}"}
{"id": "apps-01202", "n_tests": 8, "public_tests": "{\"inputs\": [[[1, [1, 1]], [[2, 2], 2]], [[1, [1, 1]], [2, [2]]], [[[[], []]], [[[], []]]], [[[[], []]], [[1, 1]]], [[1, [[[1]]]], [2, [[[2]]]]], [[], 1], [[], {}], [[1, \"[\", \"]\"], [\"[\", \"]\", 1]]], \"outputs\": [[false], [false], [true], [false], [true], [false], [false], [true]], \"testtype\": \"functional\", \"fn_name\": \"same_structure_as\", \"starter_code\": \"\\ndef same_structure_as(a, b):\\n\\t\", \"time_limit\": 6.0}"}
{"id": "apps-01207", "n_tests": 1, "public_tests": "{\"inputs\": [\"2\\n10 10\\n1 2\"], \"outputs\": [\"First\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-01212", "n_tests": 15, "public_tests": "{\"inputs\": [\"3\\n100\\n001\\n\", \"4\\n0101\\n0011\\n\", \"8\\n10001001\\n01101110\\n\", \"1\\n0\\n1\\n\", \"6\\n110110\\n000000\\n\", \"15\\n101010101010101\\n010101010101010\\n\", \"7\\n1110001\\n0000000\\n\", \"7\\n1110001\\n0000001\\n\", \"91\\n0010010000110001001011011011111001000110001000100111110010010001100110010111100111011111100\\n1101110110000100110000100011010110111101100000011011100111111000110000001101101111100100101\\n\", \"19\\n1111010011111010100\\n1010000110100110110\\n\", \"2\\n10\\n01\\n\", \"10\\n1010101010\\n1010101010\\n\", \"1\\n1\\n1\\n\", \"2\\n10\\n00\\n\", \"4\\n1000\\n0001\\n\"], \"outputs\": [\"2\\n\", \"1\\n\", \"4\\n\", \"1\\n\", \"4\\n\", \"8\\n\", \"4\\n\", \"3\\n\", \"43\\n\", \"8\\n\", \"1\\n\", \"0\\n\", \"0\\n\", \"1\\n\", \"2\\n\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-01217", "n_tests": 13, "public_tests": "{\"inputs\": [\"5 3\\n1 2 3 4 5\\n1\\n2\\n10\\n\", \"2 0\\n0 0\\n\", \"2 1\\n1 2\\n1\\n\", \"3 2\\n1000000 999999 999998\\n98\\n999999999999\\n\", \"5 10\\n5728 41414 457879 94 1\\n1\\n100\\n10000\\n1000000\\n100000000\\n10000000000\\n1000000000000\\n100000000000000\\n10000000000000000\\n1000000000000000000\\n\", \"71 57\\n9 26 80 10 65 60 63 1 15 85 71 1 58 27 41 97 42 15 42 56 87 22 10 28 34 90 13 70 71 56 65 21 0 78 47 96 56 77 32 83 28 16 10 41 0 18 78 12 27 58 4 67 21 41 99 20 21 52 74 10 83 45 43 65 2 15 1 63 46 97 72\\n81\\n21\\n81\\n81\\n5\\n9\\n41\\n76\\n81\\n92\\n95\\n94\\n78\\n93\\n47\\n30\\n92\\n3\\n45\\n81\\n42\\n88\\n17\\n3\\n39\\n9\\n95\\n19\\n95\\n1\\n79\\n21\\n15\\n57\\n31\\n21\\n61\\n53\\n93\\n56\\n55\\n91\\n62\\n16\\n41\\n65\\n65\\n1\\n31\\n12\\n27\\n61\\n61\\n81\\n29\\n56\\n61\\n\", \"66 31\\n2 35 79 90 61 55 7 13 96 67 58 18 72 46 59 43 45 78 72 86 78 47 47 14 84 43 91 19 25 81 63 94 23 48 50 74 1 4 92 97 84 86 91 1 73 66 77 75 30 57 16 46 17 22 54 4 44 44 95 56 34 16 41 13 29 39\\n95\\n78\\n48\\n33\\n97\\n28\\n83\\n21\\n93\\n97\\n9\\n76\\n13\\n97\\n44\\n96\\n85\\n13\\n45\\n24\\n57\\n1\\n73\\n94\\n89\\n1\\n39\\n49\\n49\\n87\\n81\\n\", \"51 15\\n14 34 51 71 72 56 100 38 30 60 75 74 90 84 59 97 45 43 18 71 95 1 26 40 73 48 20 10 98 2 17 33 100 60 83 40 50 9 23 77 57 12 77 9 83 99 10 47 32 76 69\\n81\\n2\\n82\\n37\\n21\\n60\\n9\\n19\\n85\\n19\\n1\\n46\\n16\\n27\\n21\\n\", \"49 55\\n88 17 40 32 36 60 78 90 64 78 5 77 46 94 48 12 91 65 75 18 81 92 8 19 61 70 46 27 74 10 39 67 87 95 97 35 17 24 56 58 22 17 9 42 74 74 79 48 20\\n89\\n21\\n5\\n57\\n46\\n65\\n76\\n60\\n76\\n63\\n34\\n1\\n98\\n45\\n77\\n5\\n61\\n30\\n77\\n1\\n21\\n69\\n74\\n15\\n91\\n28\\n18\\n13\\n100\\n19\\n51\\n65\\n8\\n18\\n17\\n97\\n81\\n97\\n21\\n1\\n100\\n99\\n31\\n1\\n69\\n6\\n81\\n67\\n81\\n33\\n81\\n31\\n26\\n78\\n1\\n\", \"42 58\\n70 65 58 27 24 10 88 81 83 30 29 98 42 97 61 59 48 2 69 22 43 48 94 27 92 70 94 87 69 42 72 79 57 23 62 32 39 86 95 16 11 42\\n61\\n74\\n11\\n13\\n73\\n29\\n34\\n87\\n75\\n27\\n79\\n37\\n7\\n31\\n11\\n42\\n14\\n18\\n73\\n13\\n41\\n42\\n61\\n45\\n3\\n21\\n95\\n51\\n10\\n45\\n31\\n55\\n20\\n13\\n33\\n65\\n50\\n56\\n29\\n5\\n62\\n61\\n48\\n85\\n3\\n91\\n21\\n97\\n53\\n80\\n56\\n65\\n19\\n24\\n49\\n89\\n93\\n94\\n\", \"51 12\\n52 59 4 82 16 80 52 81 0 36 70 25 0 66 24 58 70 34 81 71 53 87 45 12 97 73 72 35 51 55 66 43 8 20 89 48 48 53 32 87 17 13 43 80 70 84 16 87 8 18 25\\n59\\n31\\n89\\n77\\n9\\n78\\n81\\n29\\n8\\n41\\n17\\n59\\n\", \"5 3\\n5 1 2 3 4\\n1\\n316\\n2\\n\", \"4 5\\n1 2 5 5\\n1\\n2\\n3\\n4\\n5\\n\"], \"outputs\": [\"1 2\\n2 3\\n5 2\\n\", \"\", \"1 2\\n\", \"1000000 999998\\n1000000 999999\\n\", \"5728 41414\\n457879 1\\n457879 1\\n457879 1\\n457879 1\\n457879 1\\n457879 1\\n457879 1\\n457879 1\\n457879 1\\n\", \"99 1\\n97 22\\n99 1\\n99 1\\n80 60\\n80 85\\n97 16\\n99 63\\n99 1\\n99 10\\n99 90\\n99 34\\n99 15\\n99 28\\n97 12\\n97 65\\n99 10\\n80 10\\n97 18\\n99 1\\n97 10\\n99 42\\n97 15\\n80 10\\n97 83\\n80 85\\n99 90\\n97 56\\n99 90\\n9 26\\n99 80\\n97 22\\n85 97\\n99 52\\n97 21\\n97 22\\n99 45\\n97 41\\n99 28\\n99 21\\n99 20\\n99 22\\n99 43\\n97 42\\n97 16\\n99 15\\n99 15\\n9 26\\n97 21\\n85 58\\n97 70\\n99 45\\n99 45\\n99 1\\n97 56\\n99 21\\n99 45\\n\", \"97 63\\n97 46\\n97 30\\n96 48\\n97 23\\n96 25\\n97 72\\n96 47\\n97 25\\n97 23\\n96 67\\n97 18\\n96 46\\n97 23\\n97 73\\n97 94\\n97 78\\n96 46\\n97 66\\n96 84\\n97 44\\n2 35\\n97 90\\n97 81\\n97 84\\n2 35\\n96 97\\n97 57\\n97 57\\n97 47\\n97 45\\n\", \"100 33\\n34 51\\n100 100\\n100 9\\n100 1\\n100 75\\n100 60\\n100 71\\n100 40\\n100 71\\n14 34\\n100 10\\n100 45\\n100 10\\n100 1\\n\", \"97 17\\n94 92\\n88 60\\n97 78\\n97 79\\n97 65\\n97 74\\n97 46\\n97 74\\n97 12\\n95 97\\n88 17\\n97 40\\n97 74\\n97 10\\n88 60\\n97 90\\n94 39\\n97 10\\n88 17\\n94 92\\n97 92\\n97 46\\n94 12\\n97 42\\n94 74\\n94 75\\n90 94\\n97 36\\n94 18\\n97 32\\n97 65\\n90 64\\n94 75\\n94 65\\n97 17\\n97 94\\n97 17\\n94 92\\n88 17\\n97 36\\n97 32\\n94 67\\n88 17\\n97 92\\n88 78\\n97 94\\n97 18\\n97 94\\n94 95\\n97 94\\n94 67\\n94 46\\n97 39\\n88 17\\n\", \"98 43\\n98 23\\n88 98\\n98 97\\n98 57\\n98 42\\n98 62\\n98 10\\n98 62\\n98 87\\n98 95\\n98 86\\n88 81\\n98 79\\n88 98\\n98 65\\n98 61\\n98 69\\n98 57\\n98 97\\n98 42\\n98 65\\n98 43\\n98 24\\n70 27\\n98 48\\n98 97\\n98 29\\n88 29\\n98 24\\n98 79\\n98 61\\n98 43\\n98 97\\n98 23\\n98 92\\n98 30\\n98 59\\n98 42\\n70 10\\n98 48\\n98 43\\n98 81\\n98 27\\n70 27\\n98 30\\n98 48\\n98 59\\n98 42\\n98 16\\n98 59\\n98 92\\n98 22\\n98 92\\n98 83\\n98 81\\n98 88\\n98 42\\n\", \"97 36\\n97 43\\n97 87\\n97 35\\n82 36\\n97 51\\n97 43\\n97 55\\n82 0\\n97 13\\n82 34\\n97 36\\n\", \"5 1\\n5 4\\n5 2\\n\", \"1 2\\n2 5\\n5 5\\n5 1\\n5 2\\n\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-01222", "n_tests": 11, "public_tests": "{\"inputs\": [\"2\\n1 1\\n\", \"4\\n10 24 40 80\\n\", \"10\\n540 648 810 648 720 540 594 864 972 648\\n\", \"2\\n199999 200000\\n\", \"2\\n198761 199999\\n\", \"10\\n972 972 324 972 324 648 1944 243 324 474\\n\", \"3\\n166299 110866 86856\\n\", \"2\\n10007 20014\\n\", \"2\\n4 6\\n\", \"5\\n25 25 5 5 5\\n\", \"2\\n3 3\\n\"], \"outputs\": [\"1\\n\", \"40\\n\", \"54\\n\", \"39999800000\\n\", \"39752001239\\n\", \"162\\n\", \"332598\\n\", \"20014\\n\", \"12\\n\", \"5\\n\", \"3\\n\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-01227", "n_tests": 10, "public_tests": "{\"inputs\": [\"7\\n\", \"6\\n\", \"7137\\n\", \"1941\\n\", \"55004\\n\", \"1\\n\", \"2\\n\", \"3\\n\", \"4\\n\", \"5\\n\"], \"outputs\": [\"YES\\n1\\n2\\n5\\n6\\n3\\n4\\n7\\n\", \"NO\\n\", \"NO\\n\", \"NO\\n\", \"NO\\n\", \"YES\\n1\\n\", \"YES\\n1\\n2\\n\", \"YES\\n1\\n2\\n3\\n\", \"YES\\n1\\n3\\n2\\n4\", \"YES\\n1\\n2\\n4\\n3\\n5\\n\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-01232", "n_tests": 7, "public_tests": "{\"inputs\": [\"3\\n0 0 0\\n\", \"2\\n0 1\\n\", \"5\\n0 1 1 1 10\\n\", \"1\\n0\\n\", \"15\\n0 0 3 3 13 3 6 34 47 12 20 6 6 21 55\\n\", \"20\\n0 1 7 15 30 15 59 42 1 4 1 36 116 36 16 136 10 36 46 36\\n\", \"100\\n0 0 57 121 57 0 19 251 19 301 19 160 57 578 664 57 19 50 0 621 91 5 263 34 5 96 713 649 22 22 22 5 108 198 1412 1147 84 1326 1777 0 1780 132 2000 479 1314 525 68 690 1689 1431 1288 54 1514 1593 1037 1655 807 465 1674 1747 1982 423 837 139 1249 1997 1635 1309 661 334 3307 2691 21 3 533 1697 250 3920 0 343 96 242 2359 3877 3877 150 1226 96 358 829 228 2618 27 2854 119 1883 710 0 4248 435\\n\"], \"outputs\": [\"3 2 1\\n\", \"1 2\\n\", \"1 4 3 2 5\\n\", \"1\\n\", \"2 1 15 10 12 3 6 13 14 8 9 5 4 7 11\\n\", \"1 6 8 15 17 12 18 16 3 4 2 14 20 13 7 19 5 10 11 9\\n\", \"94 57 64 90 58 19 53 71 50 67 38 56 45 86 89 42 31 36 5 68 37 10 49 24 7 32 65 59 14 12 11 6 27 34 91 72 21 87 98 3 97 25 100 46 85 48 18 51 88 83 70 13 79 82 62 80 55 43 73 76 81 40 52 22 60 77 69 61 47 35 92 84 9 4 41 66 28 99 2 33 17 26 74 96 95 20 54 15 29 44 23 75 8 78 16 63 39 1 93 30\\n\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-01237", "n_tests": 6, "public_tests": "{\"inputs\": [\"6 8\\nabdabc\\n+ 1 a\\n+ 1 d\\n+ 2 b\\n+ 2 c\\n+ 3 a\\n+ 3 b\\n+ 1 c\\n- 2\\n\", \"6 8\\nabbaab\\n+ 1 a\\n+ 2 a\\n+ 3 a\\n+ 1 b\\n+ 2 b\\n+ 3 b\\n- 1\\n+ 2 z\\n\", \"1 1\\nz\\n+ 3 z\\n\", \"1 1\\nt\\n+ 2 p\\n\", \"2 12\\naa\\n+ 1 a\\n+ 2 a\\n+ 3 a\\n- 1\\n+ 1 a\\n- 2\\n+ 2 a\\n- 3\\n+ 3 a\\n+ 2 a\\n- 1\\n- 3\\n\", \"2 10\\nuh\\n+ 1 h\\n+ 2 u\\n+ 3 h\\n- 1\\n- 2\\n+ 2 h\\n+ 3 u\\n- 2\\n+ 1 u\\n- 3\\n\"], \"outputs\": [\"YES\\nYES\\nYES\\nYES\\nYES\\nYES\\nNO\\nYES\\n\", \"YES\\nYES\\nYES\\nYES\\nYES\\nNO\\nYES\\nNO\\n\", \"YES\\n\", \"NO\\n\", \"YES\\nYES\\nNO\\nYES\\nNO\\nYES\\nNO\\nYES\\nNO\\nNO\\nNO\\nYES\\n\", \"YES\\nYES\\nNO\\nYES\\nYES\\nNO\\nNO\\nNO\\nNO\\nYES\\n\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-01242", "n_tests": 5, "public_tests": "{\"inputs\": [\"2 3\\n1 1\\n1 1\\n\", \"1 2\\n1\\n3\\n\", \"2 3\\n1 1\\n2 2\\n\", \"4 8\\n3 1 4 1\\n3 1 4 1\\n\", \"3 100\\n7 6 5\\n9 9 9\\n\"], \"outputs\": [\"4\\n\", \"14\\n\", \"66\\n\", \"421749\\n\", \"139123417\\n\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-01247", "n_tests": 4, "public_tests": "{\"inputs\": [\"4 4\\n0 3\\n2 3\\n1 3\\n3 4\\n\", \"7 6\\n0 7\\n1 5\\n3 6\\n2 7\\n1 6\\n2 6\\n3 7\\n\", \"3 1\\n1 2\\n1 2\\n1 2\\n\", \"6 6\\n1 6\\n1 6\\n1 5\\n1 5\\n2 6\\n2 6\\n\"], \"outputs\": [\"0\\n\", \"2\\n\", \"2\\n\", \"2\\n\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-01252", "n_tests": 3, "public_tests": "{\"inputs\": [\"2 2\\n0 1 2 3\\n2 5\\n0 4\\n\", \"1 0\\n2 3\\n\", \"2 0\\n1 1 1 1\\n\"], \"outputs\": [\"1.500000\\n2.250000\\n3.250000\\n\", \"2.500000\\n\", \"1.000000\\n\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-01257", "n_tests": 3, "public_tests": "{\"inputs\": [\"3 3\\n1 2 1\\n2 3 1\\n3 1 2\\n\", \"8 11\\n1 3 1\\n1 4 2\\n2 3 1\\n2 5 1\\n3 4 3\\n3 6 3\\n3 7 3\\n4 8 4\\n5 6 1\\n6 7 5\\n7 8 5\\n\", \"2 0\\n\"], \"outputs\": [\"1\\n\", \"2\\n\", \"-1\\n\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-01262", "n_tests": 2, "public_tests": "{\"inputs\": [\"3\\n3\\n1 2 2\\n3\\n2 2 3\\n5\\n0 0 0 2 2\\n\", \"4\\n5\\n4 1 5 1 3\\n4\\n1 0 1 6\\n1\\n0\\n2\\n5 4\\n\"], \"outputs\": [\"WIN\\nLOSE\\nDRAW\\n\", \"WIN\\nWIN\\nDRAW\\nWIN\\n\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-01267", "n_tests": 2, "public_tests": "{\"inputs\": [\"5 3\\n1 5 2 4 7\\n7 9 6\\n\\n\", \"4 2\\n7 7 7 7\\n3 4\\n\\n\"], \"outputs\": [\"4\", \"6\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-01272", "n_tests": 1, "public_tests": "{\"inputs\": [\"3\\n5 12\\n1 0 2 0 4 0 5 0\\n5 12\\n3 30 4 0 5 0 6 0\\n5 12\\n3 0 4 0 5 0 6 0\\n\\n\"], \"outputs\": [\"1:20.56\\n-1\\n3:26.43\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-01277", "n_tests": 1, "public_tests": "{\"inputs\": [\"5\\n4\\n1 2 3 4\\n7\\n4 3 3 8 4 5 2\\n3\\n1 1 1\\n7\\n1 3 1 4 5 3 2\\n5\\n5 4 3 2 3\\n\"], \"outputs\": [\"0\\n4\\n0\\n2\\n3\\n\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-01282", "n_tests": 1, "public_tests": "{\"inputs\": [\"6\\n4\\n1 2 3 4\\n2 3 1 4\\n5\\n5 3 5 1 4\\n1 2 3 2 4\\n3\\n1 2 1\\n3 3 2\\n4\\n1 2 2 1\\n3 4 3 4\\n4\\n4 3 1 4\\n3 2 2 1\\n3\\n1 1 2\\n3 2 2\\n\"], \"outputs\": [\"0\\n\\n2\\n2 3 \\n1\\n1 \\n2\\n3 4 \\n2\\n3 4 \\n-1\\n\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-01287", "n_tests": 1, "public_tests": "{\"inputs\": [[[4, -1, 3], [[], []]]], \"outputs\": [25], \"testtype\": \"functional\", \"fn_name\": \"robotSim\", \"starter_code\": \"\\nclass Solution:\\n def robotSim(self, commands: List[int], obstacles: List[List[int]]) -> int:\\n \", \"time_limit\": 6.0}"}
{"id": "apps-01292", "n_tests": 1, "public_tests": "{\"inputs\": [[\"\\\"alex\\\"\", \"\\\"aaleex\\\"\"]], \"outputs\": [true], \"testtype\": \"functional\", \"fn_name\": \"isLongPressedName\", \"starter_code\": \"\\nclass Solution:\\n def isLongPressedName(self, name: str, typed: str) -> bool:\\n \", \"time_limit\": 6.0}"}
{"id": "apps-01297", "n_tests": 1, "public_tests": "{\"inputs\": [[[1, 3, 5, 6], 5]], \"outputs\": [2], \"testtype\": \"functional\", \"fn_name\": \"searchInsert\", \"starter_code\": \"\\nclass Solution:\\n def searchInsert(self, nums: List[int], target: int) -> int:\\n \", \"time_limit\": 6.0}"}
{"id": "apps-01302", "n_tests": 1, "public_tests": "{\"inputs\": [[[3, 4, 5, 2]]], \"outputs\": [12], \"testtype\": \"functional\", \"fn_name\": \"maxProduct\", \"starter_code\": \"\\nclass Solution:\\n def maxProduct(self, nums: List[int]) -> int:\\n \", \"time_limit\": 6.0}"}
{"id": "apps-01307", "n_tests": 1, "public_tests": "{\"inputs\": [[[2, 2, 1]]], \"outputs\": [1], \"testtype\": \"functional\", \"fn_name\": \"singleNumber\", \"starter_code\": \"\\nclass Solution:\\n def singleNumber(self, nums: List[int]) -> int:\\n \", \"time_limit\": 6.0}"}
{"id": "apps-01312", "n_tests": 1, "public_tests": "{\"inputs\": [[4]], \"outputs\": [\"aaab\"], \"testtype\": \"functional\", \"fn_name\": \"generateTheString\", \"starter_code\": \"\\nclass Solution:\\n def generateTheString(self, n: int) -> str:\\n \", \"time_limit\": 6.0}"}
{"id": "apps-01317", "n_tests": 1, "public_tests": "{\"inputs\": [[2]], \"outputs\": [2], \"testtype\": \"functional\", \"fn_name\": \"climbStairs\", \"starter_code\": \"\\nclass Solution:\\n def climbStairs(self, n: int) -> int:\\n \", \"time_limit\": 6.0}"}
{"id": "apps-01322", "n_tests": 1, "public_tests": "{\"inputs\": [[\"\\\"USA\\\"\"]], \"outputs\": [true], \"testtype\": \"functional\", \"fn_name\": \"detectCapitalUse\", \"starter_code\": \"\\nclass Solution:\\n def detectCapitalUse(self, word: str) -> bool:\\n \", \"time_limit\": 6.0}"}
{"id": "apps-01327", "n_tests": 1, "public_tests": "{\"inputs\": [[[1000, 2000, 3000, 4000]]], \"outputs\": [2500.0], \"testtype\": \"functional\", \"fn_name\": \"average\", \"starter_code\": \"\\nclass Solution:\\n def average(self, salary: List[int]) -> float:\\n \", \"time_limit\": 6.0}"}
{"id": "apps-01332", "n_tests": 1, "public_tests": "{\"inputs\": [[[1, 2, 3], [3, 2, 7], 4]], \"outputs\": [1], \"testtype\": \"functional\", \"fn_name\": \"busyStudent\", \"starter_code\": \"\\nclass Solution:\\n def busyStudent(self, startTime: List[int], endTime: List[int], queryTime: int) -> int:\\n \", \"time_limit\": 6.0}"}
{"id": "apps-01337", "n_tests": 1, "public_tests": "{\"inputs\": [[[-2, 1, -3, 4, -1, 2, 1, -5, 4]]], \"outputs\": [6], \"testtype\": \"functional\", \"fn_name\": \"maxSubArray\", \"starter_code\": \"\\nclass Solution:\\n def maxSubArray(self, nums: List[int]) -> int:\\n \", \"time_limit\": 6.0}"}
{"id": "apps-01342", "n_tests": 1, "public_tests": "{\"inputs\": [[[3, 5]]], \"outputs\": [2], \"testtype\": \"functional\", \"fn_name\": \"specialArray\", \"starter_code\": \"\\nclass Solution:\\n def specialArray(self, nums: List[int]) -> int:\\n \", \"time_limit\": 6.0}"}
{"id": "apps-01347", "n_tests": 1, "public_tests": "{\"inputs\": [[\"\\\"?zs\\\"\"]], \"outputs\": [\"\\\"azs\\\"\"], \"testtype\": \"functional\", \"fn_name\": \"modifyString\", \"starter_code\": \"\\nclass Solution:\\n def modifyString(self, s: str) -> str:\\n \", \"time_limit\": 6.0}"}
{"id": "apps-01352", "n_tests": 1, "public_tests": "{\"inputs\": [[\"\\\"abcd\\\"\", \"\\\"abcde\\\"\"]], \"outputs\": [\"e\"], \"testtype\": \"functional\", \"fn_name\": \"findTheDifference\", \"starter_code\": \"\\nclass Solution:\\n def findTheDifference(self, s: str, t: str) -> str:\\n \", \"time_limit\": 6.0}"}
{"id": "apps-01357", "n_tests": 1, "public_tests": "{\"inputs\": [[[1, 2, 2, 1, 1, 3]]], \"outputs\": [true], \"testtype\": \"functional\", \"fn_name\": \"uniqueOccurrences\", \"starter_code\": \"\\nclass Solution:\\n def uniqueOccurrences(self, arr: List[int]) -> bool:\\n \", \"time_limit\": 6.0}"}
{"id": "apps-01362", "n_tests": 1, "public_tests": "{\"inputs\": [[[12, 345, 2, 6, 7896]]], \"outputs\": [2], \"testtype\": \"functional\", \"fn_name\": \"findNumbers\", \"starter_code\": \"\\nclass Solution:\\n def findNumbers(self, nums: List[int]) -> int:\\n \", \"time_limit\": 6.0}"}
{"id": "apps-01367", "n_tests": 1, "public_tests": "{\"inputs\": [[[1, 2, 3]]], \"outputs\": [6], \"testtype\": \"functional\", \"fn_name\": \"maximumProduct\", \"starter_code\": \"\\nclass Solution:\\n def maximumProduct(self, nums: List[int]) -> int:\\n \", \"time_limit\": 6.0}"}
{"id": "apps-01372", "n_tests": 1, "public_tests": "{\"inputs\": [[[\"\\\"hello\\\"\", \"\\\"leetcode\\\"\"], \"\\\"hlabcdefgijkmnopqrstuvwxyz\\\"\"]], \"outputs\": [true], \"testtype\": \"functional\", \"fn_name\": \"isAlienSorted\", \"starter_code\": \"\\nclass Solution:\\n def isAlienSorted(self, words: List[str], order: str) -> bool:\\n \", \"time_limit\": 6.0}"}
{"id": "apps-01377", "n_tests": 1, "public_tests": "{\"inputs\": [[\"\\\"aba\\\"\", \"\\\"cdc\\\"\"]], \"outputs\": [5], \"testtype\": \"functional\", \"fn_name\": \"findLUSlength\", \"starter_code\": \"\\nclass Solution:\\n def findLUSlength(self, a: str, b: str) -> int:\\n \", \"time_limit\": 6.0}"}
{"id": "apps-01382", "n_tests": 1, "public_tests": "{\"inputs\": [[[1, 1, 4, 2, 1, 3]]], \"outputs\": [3], \"testtype\": \"functional\", \"fn_name\": \"heightChecker\", \"starter_code\": \"\\nclass Solution:\\n def heightChecker(self, heights: List[int]) -> int:\\n \", \"time_limit\": 6.0}"}
{"id": "apps-01387", "n_tests": 1, "public_tests": "{\"inputs\": [[3]], \"outputs\": [3], \"testtype\": \"functional\", \"fn_name\": \"findNthDigit\", \"starter_code\": \"\\nclass Solution:\\n def findNthDigit(self, n: int) -> int:\\n \", \"time_limit\": 6.0}"}
{"id": "apps-01392", "n_tests": 1, "public_tests": "{\"inputs\": [[[4, 2, 3]]], \"outputs\": [true], \"testtype\": \"functional\", \"fn_name\": \"checkPossibility\", \"starter_code\": \"\\nclass Solution:\\n def checkPossibility(self, nums: List[int]) -> bool:\\n \", \"time_limit\": 6.0}"}
{"id": "apps-01397", "n_tests": 1, "public_tests": "{\"inputs\": [[[1, 3, 5, 4, 7]]], \"outputs\": [3], \"testtype\": \"functional\", \"fn_name\": \"findLengthOfLCIS\", \"starter_code\": \"\\nclass Solution:\\n def findLengthOfLCIS(self, nums: List[int]) -> int:\\n \", \"time_limit\": 6.0}"}
{"id": "apps-01402", "n_tests": 1, "public_tests": "{\"inputs\": [[[30, 20, 150, 100, 40]]], \"outputs\": [3], \"testtype\": \"functional\", \"fn_name\": \"numPairsDivisibleBy60\", \"starter_code\": \"\\nclass Solution:\\n def numPairsDivisibleBy60(self, time: List[int]) -> int:\\n \", \"time_limit\": 6.0}"}
{"id": "apps-01407", "n_tests": 1, "public_tests": "{\"inputs\": [[\"\\\"aba\\\"\"]], \"outputs\": [true], \"testtype\": \"functional\", \"fn_name\": \"validPalindrome\", \"starter_code\": \"\\nclass Solution:\\n def validPalindrome(self, s: str) -> bool:\\n \", \"time_limit\": 6.0}"}
{"id": "apps-01412", "n_tests": 1, "public_tests": "{\"inputs\": [[[1, 2, 2]]], \"outputs\": [5], \"testtype\": \"functional\", \"fn_name\": \"largestPerimeter\", \"starter_code\": \"\\nclass Solution:\\n def largestPerimeter(self, A: List[int]) -> int:\\n \", \"time_limit\": 6.0}"}
{"id": "apps-01417", "n_tests": 1, "public_tests": "{\"inputs\": [[[1, 2, 3, 1, 1, 3]]], \"outputs\": [4], \"testtype\": \"functional\", \"fn_name\": \"numIdenticalPairs\", \"starter_code\": \"\\nclass Solution:\\n def numIdenticalPairs(self, nums: List[int]) -> int:\\n \", \"time_limit\": 6.0}"}
{"id": "apps-01422", "n_tests": 1, "public_tests": "{\"inputs\": [[\"\\\"()\\\"\"]], \"outputs\": [false], \"testtype\": \"functional\", \"fn_name\": \"isValid\", \"starter_code\": \"\\nclass Solution:\\n def isValid(self, s: str) -> bool:\\n \", \"time_limit\": 6.0}"}
{"id": "apps-01427", "n_tests": 1, "public_tests": "{\"inputs\": [\"12345678910111213141516171820212223\"], \"outputs\": [\"1\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-01432", "n_tests": 1, "public_tests": "{\"inputs\": [\"10\\n2 3 4 5 6 8 7 6 5 18\\n6\\n6 55\\n6 45\\n6 55\\n4 40\\n18 60\\n10 50\"], \"outputs\": [\"200\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-01437", "n_tests": 1, "public_tests": "{\"inputs\": [\"5\\n12 9 61 5 14\"], \"outputs\": [\"True\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-01442", "n_tests": 1, "public_tests": "{\"inputs\": [\"11\\na = 1;\\nb = input();\\n\\nif a + b > 0 && a - b < 0:\\n start()\\nelif a*b > 10 || a/b < 1:\\n stop()\\nprint set(list(a)) | set(list(b)) \\n#Note do not change &&& or ||| or & or |\\n#Only change those '&&' which have space on both sides.\\n#Only change those '|| which have space on both sides.\"], \"outputs\": [\"a = 1;\\nb = input();\\n\\nif a + b > 0 and a - b < 0:\\n start()\\nelif a*b > 10 or a/b < 1:\\n stop()\\nprint set(list(a)) | set(list(b)) \\n#Note do not change &&& or ||| or & or |\\n#Only change those '&&' which have space on both sides.\\n#Only change those '|| which have space on both sides.\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-01447", "n_tests": 1, "public_tests": "{\"inputs\": [\"HACK 2\"], \"outputs\": [\"A\\nC\\nH\\nK\\nAC\\nAH\\nAK\\nCH\\nCK\\nHK\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-01452", "n_tests": 1, "public_tests": "{\"inputs\": [\"1+2j\"], \"outputs\": [\"2.23606797749979 \\n1.1071487177940904\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-01457", "n_tests": 1, "public_tests": "{\"inputs\": [\"177\\n10\"], \"outputs\": [\"17\\n7\\n(17, 7)\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-01462", "n_tests": 1, "public_tests": "{\"inputs\": [\"this is a string\"], \"outputs\": [\"this-is-a-string\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-01467", "n_tests": 1, "public_tests": "{\"inputs\": [\"4\\n4.0O0\\n-1.00\\n+4.54\\nSomeRandomStuff\"], \"outputs\": [\"False\\nTrue\\nTrue\\nFalse\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-01472", "n_tests": 1, "public_tests": "{\"inputs\": [\"3 2\\n1 5 3\\n3 1\\n5 7\"], \"outputs\": [\"1\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-01477", "n_tests": 1, "public_tests": "{\"inputs\": [\"5 2\\na\\na\\nb\\na\\nb\\na\\nb\"], \"outputs\": [\"1 2 4\\n3 5\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-01482", "n_tests": 1, "public_tests": "{\"inputs\": [\"5 3\\n10 2 5\\n7 1 0\\n9 9 9\\n1 23 12\\n6 5 9\\n1\"], \"outputs\": [\"7 1 0\\n10 2 5\\n6 5 9\\n9 9 9\\n1 23 12\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-01487", "n_tests": 1, "public_tests": "{\"inputs\": [\"9\\n1 2 3 4 5 6 7 8 9\\n9\\n10 1 2 3 11 21 55 6 8\"], \"outputs\": [\"8\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-01492", "n_tests": 1, "public_tests": "{\"inputs\": [\"9\\n1 2 3 4 5 6 7 8 9\\n9\\n10 1 2 3 11 21 55 6 8\"], \"outputs\": [\"4\"], \"testtype\": \"stdin\", \"fn_name\": \"\", \"time_limit\": 6.0}"}
{"id": "apps-01497", "n_tests": 10, "public_tests": "{\"inputs\": [[15], [4], [4.99], [5], [30], [80], [22], [5.9181], [28.789], [4.325]], \"outputs\": [[10], [4], [4.99], [3.33], [20], [70], [14.67], [3.95], [19.19], [4.33]], \"testtype\": \"functional\", \"fn_name\": \"michael_pays\", \"starter_code\": \"\\ndef michael_pays(costs):\\n\\t\", \"time_limit\": 6.0}"}
{"id": "apps-01502", "n_tests": 9, "public_tests": "{\"inputs\": [[[\"foo\"]], [[\"f\"]], [[[\"f\"]]], [[[\"foo\", \"bar\"]]], [[[\"f\", \"bar\"]]], [[[\"foo\", \"bar\"], [\"baz\", \"qux\"]]], [[[\"foo\"], \"bar\", [\"baz\", \"qux\"], [\"xyzzy\", \"a\"], \"a\", [\"a\"], [\"a\", \"plugh\"]]], [[]], [[[\"---\"], \"---\", [\"---\", \"---\"], [\"-----\", \"-\"], \"-\", [\"-\"], [\"-\", \"-----\"]]]], \"outputs\": [[\"foo\"], [\"f\"], [\"f\"], [\"--foo bar\"], [\"-f bar\"], [\"--foo bar --baz qux\"], [\"foo bar --baz qux --xyzzy a a a -a plugh\"], [\"\"], [\"--- --- ----- --- ------- - - - -- -----\"]], \"testtype\": \"functional\", \"fn_name\": \"args_to_string\", \"starter_code\": \"\\ndef args_to_string(args):\\n\\t\", \"time_limit\": 6.0}"}
{"id": "apps-01507", "n_tests": 2, "public_tests": "{\"inputs\": [[[\"kevin\", \"has\", \"no\", \"space\"]], [[\"this\", \"cheese\", \"has\", \"no\", \"holes\"]]], \"outputs\": [[[\"kevin\", \"kevinhas\", \"kevinhasno\", \"kevinhasnospace\"]], [[\"this\", \"thischeese\", \"thischeesehas\", \"thischeesehasno\", \"thischeesehasnoholes\"]]], \"testtype\": \"functional\", \"fn_name\": \"spacey\", \"starter_code\": \"\\ndef spacey(array):\\n\\t\", \"time_limit\": 6.0}"}
{"id": "apps-01512", "n_tests": 6, "public_tests": "{\"inputs\": [[\"red\", \"bumpy\"], [\"green\", \"bumpy\"], [\"yellow\", \"smooth\"], [\"red\", \"smooth\"], [\"green\", \"smooth\"], [\"yellow\", \"bumpy\"]], \"outputs\": [[\"0.57\"], [\"0.14\"], [\"0.33\"], [\"0.33\"], [\"0.33\"], [\"0.28\"]], \"testtype\": \"functional\", \"fn_name\": \"color_probability\", \"starter_code\": \"\\ndef color_probability(color, texture):\\n\\t\", \"time_limit\": 6.0}"}
{"id": "apps-01517", "n_tests": 4, "public_tests": "{\"inputs\": [[\"2 + 3- 4*1 ^ 3\"], [\"7 * 3 - 3/ 10 0\"], [\"1 20% 0 + 9\"], [\"6 9* 2+6 / 0\"]], \"outputs\": [[1], [0], [null], [null]], \"testtype\": \"functional\", \"fn_name\": \"no_order\", \"starter_code\": \"\\ndef no_order(equation):\\n\\t\", \"time_limit\": 6.0}"}
{"id": "apps-01522", "n_tests": 10, "public_tests": "{\"inputs\": [[\"Welcome home\", \"secret\"], [\"hello\", \"wednesday\"], [\"HELLO\", \"wednesday\"], [\"HeLlO\", \"wednesday\"], [\"WELCOME HOME\", \"gridlocked\"], [\"alpha bravo charlie\", \"delta\"], [\"Home Base\", \"seven\"], [\"basecamp\", \"covert\"], [\"one two three\", \"rails\"], [\"Test\", \"unbuntu\"]], \"outputs\": [[\"wticljt dljt\"], [\"bshhk\"], [\"bshhk\"], [\"bshhk\"], [\"wlfimhl kmhl\"], [\"djofd eqdvn lfdqjga\"], [\"dlja esqa\"], [\"ocprvcil\"], [\"mks twm tdpss\"], [\"raqr\"]], \"testtype\": \"functional\", \"fn_name\": \"keyword_cipher\", \"starter_code\": \"\\ndef keyword_cipher(msg, keyword):\\n\\t\", \"time_limit\": 6.0}"}
{"id": "apps-01527", "n_tests": 5, "public_tests": "{\"inputs\": [[\"gh12cdy695m1\"], [\"2ti9iei7qhr5\"], [\"vih61w8oohj5\"], [\"f7g42g16hcu5\"], [\"lu1j8qbbb85\"]], \"outputs\": [[695], [9], [61], [42], [85]], \"testtype\": \"functional\", \"fn_name\": \"solve\", \"starter_code\": \"\\ndef solve(s):\\n\\t\", \"time_limit\": 6.0}"}
{"id": "apps-01532", "n_tests": 25, "public_tests": "{\"inputs\": [[0], [1], [8], [5], [9], [10], [19], [20], [22], [54], [80], [98], [100], [301], [793], [800], [650], [1000], [1003], [3052], [7300], [7217], [8340], [99997], [888887]], \"outputs\": [[\"zero\"], [\"one\"], [\"eight\"], [\"five\"], [\"nine\"], [\"ten\"], [\"nineteen\"], [\"twenty\"], [\"twenty-two\"], [\"fifty-four\"], [\"eighty\"], [\"ninety-eight\"], [\"one hundred\"], [\"three hundred one\"], [\"seven hundred ninety-three\"], [\"eight hundred\"], [\"six hundred fifty\"], [\"one thousand\"], [\"one thousand three\"], [\"three thousand fifty-two\"], [\"seven thousand three hundred\"], [\"seven thousand two hundred seventeen\"], [\"eight thousand three hundred forty\"], [\"ninety-nine thousand nine hundred ninety-seven\"], [\"eight hundred eighty-eight thousand eight hundred eighty-seven\"]], \"testtype\": \"functional\", \"fn_name\": \"number2words\", \"starter_code\": \"\\ndef number2words(n):\\n\\t\", \"time_limit\": 6.0}"}
{"id": "apps-01537", "n_tests": 11, "public_tests": "{\"inputs\": [[[1, 3, 2, 1]], [[1, 3, 2]], [[1, 2, 3]], [[1, 2, 3, 1]], [[1, 4, 10, 4, 2]], [[10, 1, 2, 3, 4, 5]], [[1, 1, 1, 2, 3]], [[0, -2, 5, 6]], [[1, 1]], [[4, 5, 6, 1, 2, 3]], [[149, 15, 23, 32, 41, 48, 58, 66, 69, 75, 81, 91, 178, 100, 109, 118, 128, 134, 143]]], \"outputs\": [[false], [true], [true], [true], [false], [true], [false], [true], [true], [false], [false]], \"testtype\": \"functional\", \"fn_name\": \"almost_increasing_sequence\", \"starter_code\": \"\\ndef almost_increasing_sequence(sequence):\\n\\t\", \"time_limit\": 6.0}"}
{"id": "apps-01542", "n_tests": 36, "public_tests": "{\"inputs\": [[1, 6, 0], [1, 0, 1], [0, 6, 1], [1, 6, 1], [1, 6, 2], [1, 6, 3], [1, 6, 4], [1, 6, 5], [1, 6, 6], [1, 6, 7], [2, 6, 1], [2, 6, 2], [2, 6, 3], [2, 6, 4], [2, 6, 5], [2, 6, 6], [2, 6, 7], [2, 6, 8], [2, 6, 9], [2, 6, 10], [2, 6, 11], [2, 6, 12], [2, 6, 13], [3, 6, 6], [3, 6, 9], [3, 6, 10], [3, 6, 11], [3, 6, 12], [3, 6, 15], [4, 6, 5], [3, 100, 100], [6, 10, 27], [5, 10, 27], [4, 10, 27], [10, 5, 13], [8, 8, 80]], \"outputs\": [[0], [0], [0], [1], [1], [1], [1], [1], [1], [0], [0], [1], [2], [3], [4], [5], [6], [5], [4], [3], [2], [1], [0], [10], [25], [27], [27], [25], [10], [4], [4851], [39662], [6000], [480], [220], [0]], \"testtype\": \"functional\", \"fn_name\": \"outcome\", \"starter_code\": \"\\ndef outcome(n, s, k):\\n\\t\", \"time_limit\": 6.0}"}
{"id": "apps-01547", "n_tests": 5, "public_tests": "{\"inputs\": [[[200, 30, 18, 8, 64, 34]], [[21, 45, 51, 27, 33]], [[133, 147, 427, 266]], [[3, 5, 7]], [[]]], \"outputs\": [[2], [3], [7], [1], [1]], \"testtype\": \"functional\", \"fn_name\": \"scf\", \"starter_code\": \"\\ndef scf(lst):\\n\\t\", \"time_limit\": 6.0}"}
{"id": "apps-01552", "n_tests": 3, "public_tests": "{\"inputs\": [[\"www.codewars.com#about\"], [\"www.codewars.com/katas/?page=1#about\"], [\"www.codewars.com/katas/\"]], \"outputs\": [[\"www.codewars.com\"], [\"www.codewars.com/katas/?page=1\"], [\"www.codewars.com/katas/\"]], \"testtype\": \"functional\", \"fn_name\": \"remove_url_anchor\", \"starter_code\": \"\\ndef remove_url_anchor(url):\\n\\t\", \"time_limit\": 6.0}"}
{"id": "apps-01557", "n_tests": 20, "public_tests": "{\"inputs\": [[[25, 25, 50]], [[25, 25, 50, 100]], [[25, 100]], [[25, 25, 25, 25, 25, 25, 25, 25, 25, 25]], [[50, 50, 50, 50, 50, 50, 50, 50, 50, 50]], [[100, 100, 100, 100, 100, 100, 100, 100, 100, 100]], [[25, 25, 25, 25, 50, 100, 50]], [[50, 100, 100]], [[25, 25, 100]], [[25, 25, 25, 25, 25, 25, 25, 50, 50, 50, 100, 100, 100, 100]], [[25, 25, 50, 50, 100]], [[25, 50, 50]], [[25, 25, 25, 100]], [[25, 50, 25, 100]], [[25, 25, 25, 25, 25, 100, 100]], [[25, 50, 100, 25, 25, 25, 50]], [[25, 50, 25, 50, 100, 25, 25, 50]], [[25, 50, 25, 100, 25, 25, 50, 100, 25, 25, 25, 100, 25, 25, 50, 100, 25, 50, 25, 100, 25, 50, 50, 50]], [[25, 25, 25, 100, 25, 25, 25, 100, 25, 25, 50, 100, 25, 25, 50, 100, 50, 50]], [[25, 50, 25, 100, 25, 25, 50, 100, 25, 50, 25, 100, 50, 25]]], \"outputs\": [[\"YES\"], [\"YES\"], [\"NO\"], [\"YES\"], [\"NO\"], [\"NO\"], [\"YES\"], [\"NO\"], [\"NO\"], [\"NO\"], [\"NO\"], [\"NO\"], [\"YES\"], [\"YES\"], [\"NO\"], [\"NO\"], [\"NO\"], [\"NO\"], [\"NO\"], [\"NO\"]], \"testtype\": \"functional\", \"fn_name\": \"tickets\", \"starter_code\": \"\\ndef tickets(people):\\n\\t\", \"time_limit\": 6.0}"}
{"id": "apps-01562", "n_tests": 29, "public_tests": "{\"inputs\": [[[50, 2, 1, 9]], [[3655, 89]], [[8]], [[12, 13, 89, 155, 8, 26, 0]], [[76, 4, 3, 81, 514, 6, 716]], [[817, 6879, 163, 348, 8, 22, 47]], [[411, 742, 89, 691, 284]], [[587, 625, 638, 898, 122]], [[797, 535, 210, 87]], [[5, 2, 1, 9, 50, 56]], [[197, 853, 819]], [[23044, 2, 7626, 914, 7800]], [[451, 850, 85, 283, 4, 734, 605, 499, 249]], [[304, 12, 206, 584, 78, 69, 864, 860]], [[8346, 991, 25, 4, 67]], [[298, 268, 58, 598, 702, 603, 597]], [[422, 995, 500, 202, 772, 230, 258, 144, 752]], [[618, 514, 863, 195, 965, 262]], [[141, 63, 51, 966, 520, 48, 82, 14, 397]], [[756, 688, 8, 657, 912]], [[70, 7, 81, 28, 336, 246, 817, 77, 4, 550]], [[150, 398, 919, 890, 447, 285]], [[783, 19, 88, 5, 7]], [[10, 327, 6, 70, 13, 83, 482, 77]], [[8, 6, 590, 70]], [[6, 73, 79, 356, 7]], [[64, 29, 5, 9, 982, 3]], [[3487, 103559, 243]], [[7, 78, 79, 72, 709, 7, 94]]], \"outputs\": [[95021], [893655], [8], [8982615513120], [8176716651443], [881768794734822163], [89742691411284], [898638625587122], [87797535210], [95655021], [853819197], [91478007626230442], [858507346054994514283249], [864860786958430420612], [991834667425], [70260359859758298268], [995772752500422258230202144], [965863618514262195], [9668263520514839714141], [9128756688657], [8181777770550433628246], [919890447398285150], [887837519], [83777064823271310], [8706590], [797736356], [9982645329], [3487243103559], [9479787772709]], \"testtype\": \"functional\", \"fn_name\": \"largest_arrangement\", \"starter_code\": \"\\ndef largest_arrangement(numbers):\\n\\t\", \"time_limit\": 6.0}"}
{"id": "apps-01567", "n_tests": 3, "public_tests": "{\"inputs\": [[\"abcd\", [0, 3, 1, 2]], [\"sc301s\", [4, 0, 3, 1, 5, 2]], [\"bskl5\", [2, 1, 4, 3, 0]]], \"outputs\": [[\"acdb\"], [\"c0s3s1\"], [\"5sblk\"]], \"testtype\": \"functional\", \"fn_name\": \"scramble\", \"starter_code\": \"\\ndef scramble(string, array):\\n\\t\", \"time_limit\": 6.0}"}
{"id": "apps-01572", "n_tests": 2, "public_tests": "{\"inputs\": [[[[1, 2], [3, 3], [4, 1], [1, 1], [4, -1]]], [[[1, 2], [4, -1], [3, 3], [4, -1], [4, 1], [1, 1], [4, -1], [4, -1], [3, 3], [1, 2]]]], \"outputs\": [[3], [3]], \"testtype\": \"functional\", \"fn_name\": \"count_rect_triang\", \"starter_code\": \"\\ndef count_rect_triang(points):\\n\\t\", \"time_limit\": 6.0}"}
{"id": "apps-01577", "n_tests": 10, "public_tests": "{\"inputs\": [[[]], [[1, 1, 1, 1]], [[1, 2, 3, 4]], [[0, 1, 2, 5, 6, 9]], [[0, 1, 2, 3, 4, 5, 6, 7]], [[0, 1, 2, 3, 5, 6, 7]], [[0, 1, 2, 3, 4, 5, 6, 7, 9, 10]], [[-2, 0, 1, 2, 3, 4, 5, 6, 7, 9, 10, 12]], [[-3, -2, -1, 0, 2, 3]], [[-2]]], \"outputs\": [[[]], [[\"1\"]], [[\"1->4\"]], [[\"0->2\", \"5->6\", \"9\"]], [[\"0->7\"]], [[\"0->3\", \"5->7\"]], [[\"0->7\", \"9->10\"]], [[\"-2\", \"0->7\", \"9->10\", \"12\"]], [[\"-3->0\", \"2->3\"]], [[\"-2\"]]], \"testtype\": \"functional\", \"fn_name\": \"summary_ranges\", \"starter_code\": \"\\ndef summary_ranges(nums):\\n\\t\", \"time_limit\": 6.0}"}
{"id": "apps-01582", "n_tests": 10, "public_tests": "{\"inputs\": [[103115104105123101118119981001098], [103115104105123101118119981001098103115104105123101118119981001098103115104105123101118119981001098], [1091011161151121151071091261051061151181081151231191201211161091041201081091191111011201011091199810010981051221051141201081151211071081091201191021181091121121091011141209810001], [119112105105116981000981091199810019810612111498100000110001], [109106125115121108101122105101114125103115113116112101109114120119109120119114115120113125106101121112120981100019810911210911110511911210510511698111000100100981191131091121051251061011031059810001], [12310810511498100010981091231011191011251151211141071021151259810001109811312510610112010810511812011511511111310510911412011512010810510310912012598100100098113103118109119101123105119115113105981000198], [120108105118105109119101112109107108120981001010101098102105108109114104125115121118105125105119981000], [1251151211191081151211121041061051051121191251131161011201081251061151181131059810001009812010810911911611811510711810111310711210912010310810510410111410410410511210512010510411312510610911811912012210511811910911511411510612010810911911110112010198100001098109120119114115120115111101125981000109811110911410411510611210911110510911311411512011511110112510911611811511310911910598100010], [1091011131021151181051041191151091011131071151091141071201151201251161051181011141041151131121051201201051181199810000001001010100101010101010198102112101108101112119104110111106101112104119111106110101119104108107101119112104108107101119121112109104107108981000101001011981011191041111081071121041121011111101081079810001010010198119112105105116101104112106110112104101119104106104106104119115113105120108109114107109119114115120118101114104115113104101106104101106108104101112111110106108109114108105118105981000001010010101001010100101010101098117105118120125121109115116101119104106107108110111112126124103122102114113123123123123123117105118120125121109115116101119104106107108110111112126124103122102114113123123123123123117105118120125121109115116101119104106107108110111112126124103122102114113123123123123123117105118120125121109115116101119104106107108110111112126124103122102114113123123123123123117105118120125121109115116101119104106107108110111112126124103122102114113123123123123123117105118120125121109115116101119104106107108110111112126124103122102114113123123123123123117105118120125121109115116101119104106107108110111112126124103122102114113123123123123123981000101010], [1091061251151211231051181051211191091141071201081051161181091141201031151131131011141041151181191151131051201081091141071011141041181051011041091141071201081091191021181091121121011091141201031151141221051181191011201091151141091081151161051251151211051141101151251051041091201011141041201081011201091201131011041051211161061151181201081051201051181181091021121051111011201011201081011201091131011041051151201081051181231091191051091071211051191191091011131201011121111091141071201151131251191051121061011121191151091031011141201211191051191161011031051191151181161211141031201211011201091151141151061011141251191151181201011141041091201091191041181091221091141071131051011021191151121211201051121251091141191011141051231051121121251151211071051201201081051161151091141201191151211131081011221051011141091031051041011251011141041021251051011141041121091191201051141201151131251031081051131091031011121181151131011141031051201081051251011181051011131011261091141071201081011201091191011121121061151181201151041011251201081051231051011201081051181091191141091031051071151161121011251151211201191091041059810010010100101010010101010100101010001001001]], \"outputs\": [[\"codewars, 18\"], [\"codewars, 18, codewars, 18, codewars, 18\"], [\"iapologizeforhowstupidthiskatais, 18, eventhoughitsbrilliant, 17\"], [\"sleep, 8, is, 9, fun, 2097\"], [\"ifyouhaveanycomplaintsitsnotmyfault, 49, ilikesleep, 3620, smileyface, 17\"], [\"when, 34, iwasayoungboy, 70, myfathertookmeintothecity, 72, mcrisawesome, 17\"], [\"thereisalight, 1194, behindyoureyes, 8\"], [\"youshouldfeelsympathyforme, 68, thisprogramglitchedanddeletedmyfirstversionofthiskata, 66, itsnotokay, 34, kindoflikeimnotokayipromise, 34\"], [\"iamboredsoiamgoingtotyperandomletters, 541758805, blahalsdjkfaldskfjasdhgasldhgasulidgh, 4427, asdkhgldlakjhg, 2213, sleepadlfjldasdfdfdsomethingisnotrandomdafdafhdalkjfhinhere, 17526510250, qertyuiopasdfghjklzxcvbnmwwwwwqertyuiopasdfghjklzxcvbnmwwwwwqertyuiopasdfghjklzxcvbnmwwwwwqertyuiopasdfghjklzxcvbnmwwwwwqertyuiopasdfghjklzxcvbnmwwwwwqertyuiopasdfghjklzxcvbnmwwwwwqertyuiopasdfghjklzxcvbnmwwwww, 554\"], [\"ifyouwereusingtheprintcommandorsomethingandreadingthisbrillaintconversationihopeyouenjoyeditandthatitmadeupfortheterriblekatathatimadeotherwiseiguessiamtalkingtomyselfalsoicantusespacesorpunctuationofanysortanditisdrivingmeabsolutelyinsanewellyougetthepointsoumhaveanicedayandbyeandlistentomychemicalromancetheyareamazingthatisallfortodaytheweatherisnicegoplayoutside, 10073085203529\"]], \"testtype\": \"functional\", \"fn_name\": \"decode\", \"starter_code\": \"\\ndef decode(number):\\n\\t\", \"time_limit\": 6.0}"}
{"id": "apps-01587", "n_tests": 24, "public_tests": "{\"inputs\": [[5], [12], [13], [16], [17], [20], [9001], [9004], [9005], [9008], [90001], [90002], [90004], [90005], [90009], [900001], [900004], [900005], [9000001], [9000004], [90000001], [90000004], [900000012], [9000000041]], \"outputs\": [[[[3, 1]]], [[[4, 1]]], [[[7, 3]]], [[[4, 0]]], [[[9, 4]]], [[[6, 2]]], [[[4501, 2250]]], [[[2252, 1125]]], [[[4503, 2251], [903, 449]]], [[[1128, 562]]], [[[45001, 22500]]], [[]], [[[22502, 11250]]], [[[45003, 22501], [9003, 4499], [981, 467], [309, 37]]], [[[45005, 22502], [15003, 7500], [5005, 2498], [653, 290], [397, 130], [315, 48]]], [[[450001, 225000]]], [[[225002, 112500], [32150, 16068]]], [[[450003, 225001], [90003, 44999]]], [[[4500001, 2250000], [73801, 36870]]], [[[2250002, 1125000], [173090, 86532], [132370, 66168], [10402, 4980]]], [[[45000001, 22500000], [6428575, 3214284], [3461545, 1730766], [494551, 247230]]], [[[22500002, 11250000], [252898, 126360], [93602, 46560], [22498, 10200]]], [[[225000004, 112500001], [75000004, 37499999], [3358276, 1679071], [1119604, 559601]]], [[[4500000021, 2250000010], [155172429, 77586200]]]], \"testtype\": \"functional\", \"fn_name\": \"sol_equa\", \"starter_code\": \"\\ndef sol_equa(n):\\n\\t\", \"time_limit\": 6.0}"}
{"id": "apps-01592", "n_tests": 6, "public_tests": "{\"inputs\": [[7], [25], [50], [100], [1000], [10000]], \"outputs\": [[18], [107], [304], [993], [63589], [4721110]], \"testtype\": \"functional\", \"fn_name\": \"solve\", \"starter_code\": \"\\ndef solve(n):\\n\\t\", \"time_limit\": 6.0}"}
{"id": "apps-01597", "n_tests": 5, "public_tests": "{\"inputs\": [[[]], [[\"Peter\"]], [[\"Jacob\", \"Alex\"]], [[\"Max\", \"John\", \"Mark\"]], [[\"Alex\", \"Jacob\", \"Mark\", \"Max\"]]], \"outputs\": [[\"no one likes this\"], [\"Peter likes this\"], [\"Jacob and Alex like this\"], [\"Max, John and Mark like this\"], [\"Alex, Jacob and 2 others like this\"]], \"testtype\": \"functional\", \"fn_name\": \"likes\", \"starter_code\": \"\\ndef likes(names):\\n\\t\", \"time_limit\": 6.0}"}