question_id stringlengths 64 64 | category stringclasses 1
value | turns sequencelengths 1 1 | question_title stringlengths 9 73 | public_test_cases stringlengths 73 1.06k | private_test_cases stringlengths 156 55.1M | original_json dict | release_date timestamp[s] | citation stringlengths 97 147 | task stringclasses 2
values | livebench_release_date timestamp[s] | livebench_removal_date stringclasses 1
value | remainder stringlengths 0 506 | solution stringlengths 0 2.19k | partial_solution stringlengths 0 1.79k |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
03741bcada4e970eedeb7f28fdf45c496779b98f3df8e513f992a51cf072f67c | coding | [
"### Instructions: You are an expert Python programmer. You will be given a question (problem specification) and will generate a correct Python program that matches the specification and passes all tests. You will NOT return anything except for the program.\n### Question:\nTakahashi, a young baseball enthusiast, ha... | atcoder_Christmas Present | [{"input": "300 100\n", "output": "Bat\n", "testtype": "stdin"}, {"input": "334 343\n", "output": "Glove\n", "testtype": "stdin"}] | eJxrYJnay8QABhFtQEZ0tVJmXkFpiZKVgpKhgYGBgmFMnpKOglJ+aQlU1CmxBCJUklpcUlJZkAoSLC5JycxTqtVRQNJubmqgYG5BtnYTE1MFEyMzsvWbmlkoGJsYkK3fzNxEwcTMnGz9hgqg8EPX7p6TX5ZKnAHGQBOMjCkwwNTISMHU3JQCE0xMzBXMjCwpMQHoC1MLEoMhdooeAPgnxbY= | {
"question_title": "Christmas Present",
"question_content": "Takahashi, a young baseball enthusiast, has been a very good boy this year, so Santa has decided to give him a bat or a glove, whichever is more expensive.\nIf a bat costs B yen and a glove costs G yen (B\\neq G), which one will Santa give to Takahashi?\... | 2023-12-23T00:00:00 | https://atcoder.jp/contests/abc334/tasks/abc334_a via livecodebench (https://livecodebench.github.io/) | LCB_generation | 2024-07-26T00:00:00 | ||||
ffdb71c563e5f8e936ab2649a069bfbdbebcde991c6ae11a2e83ec18c0d8e50d | coding | [
"### Instructions: You are an expert Python programmer. You will be given a question (problem specification) and will generate a correct Python program that matches the specification and passes all tests. You will NOT return anything except for the program.\n### Question:\nYou are given a 0-indexed array of positiv... | leetcode_find-if-array-can-be-sorted | [{"input": "[8, 4, 2, 30, 15]", "output": "true", "testtype": "functional"}, {"input": "[1, 2, 3, 4, 5]", "output": "true", "testtype": "functional"}, {"input": "[3, 16, 8, 4, 2]", "output": "false", "testtype": "functional"}] | eJyll02KHEcQhb3wAXyEZtaNib/MjPRJDEILYSQQCElYPQtjDD6EfTbvfBZ/kS2Npnu6eixaDJqpyszI+HnvRdSf3//97w/frX8//8MfL36/e/v+4/3h7qfd3QubL+/2u7sP94fPbw6/3r+uN4fXnw6H3z6+rndv7t//cnj74f2rd3d/7HePj2vcdNxvOz5vc96k3xZ8u/H+uO183+9cb7IQY7+zGLcVYb/TSP6zc1/evHr36RsMDR/Z5+g2Iz0pTnTf74LH2YfNxhUS2QZ/hM5wYdVSYwSHhkpvrIzWGmZ8WJsabs5WdRbY7F0sxxyi... | {
"question_title": "find-if-array-can-be-sorted",
"question_content": "You are given a 0-indexed array of positive integers nums.\nIn one operation, you can swap any two adjacent elements if they have the same number of set bits. You are allowed to do this operation any number of times (including zero).\nReturn tr... | 2024-01-20T00:00:00 | https://leetcode.com/problems/find-if-array-can-be-sorted via livecodebench (https://livecodebench.github.io/) | LCB_generation | 2024-07-26T00:00:00 | ||||
306525ba191d9f60529c2b5a3b3fb659106ca56db058b66b4181904705a84aab | coding | [
"### Instructions: You are an expert Python programmer. You will be given a question (problem specification) and will generate a correct Python program that matches the specification and passes all tests. You will NOT return anything except for the program.\n### Question:\nAtCoder Inc. sells T-shirts with its logo.... | atcoder_T | [{"input": "6 1\n112022\n", "output": "2\n", "testtype": "stdin"}, {"input": "3 1\n222\n", "output": "3\n", "testtype": "stdin"}, {"input": "2 1\n01\n", "output": "0\n", "testtype": "stdin"}] | eJztWc1uFDEM5sCDjPbEoUK2W7otr8EFQbnRQy9LpU4PCCHxEPC+TPzZjpOpqmG5bePtdjeJfz87iaf99frPpzevlD5+WL58/rG7O9w/zrv3044nvjnQzWF3Nu2+Pc42axPz7cM8f7+/LVMP89e7w+7n2dQLSy/M24Sv6WriRZiJRPQtTLyQLJ/EOqIyWKgMZOHgwoyV5UO5qFARgpqigSDOOg8VWFDlRV6VFg2Cn8IjaoHAsXwUSwTzME7gJ0hyESpicIPVQ3VPneEyoW/WqeKM+c1lQTWq08oh7mxZ4SAhhUQQJXHAwiYO6aKbjJsU... | {
"question_title": "T",
"question_content": "AtCoder Inc. sells T-shirts with its logo.\nYou are given Takahashi's schedule for N days as a string S of length N consisting of 0, 1, and 2.\nSpecifically, for an integer i satisfying 1\\leq i\\leq N,\n\n- if the i-th character of S is 0, he has no plan scheduled for ... | 2023-12-10T00:00:00 | https://atcoder.jp/contests/abc332/tasks/abc332_c via livecodebench (https://livecodebench.github.io/) | LCB_generation | 2024-07-26T00:00:00 | ||||
3d2aec36cd900b962211c24ae69daf2692f7200fe06d34c7a236d531d0a3c17f | coding | ["### Instructions: You are an expert Python programmer. You will be given a question (problem speci(...TRUNCATED) | atcoder_Mex and Update | "[{\"input\": \"8 5\\n2 0 2 2 1 1 2 5\\n4 3\\n4 4\\n6 3\\n8 1000000000\\n2 1\\n\", \"output\": \"4\\(...TRUNCATED) | "eJzsnbuurUuSlSXEgxyV3UbeLzwJEmXSRjtFS1QbCCFh8Za8CxEzxxf/UeHg4MUZxtnae605/0tmZFxGjPif//4//q9/+9//7j/(...TRUNCATED) | {"question_title":"Mex and Update","question_content":"You are given a sequence A=(A_1,A_2,\\dots,A_(...TRUNCATED) | 2023-11-25T00:00:00 | https://atcoder.jp/contests/abc330/tasks/abc330_e via livecodebench (https://livecodebench.github.io/) | LCB_generation | 2024-07-26T00:00:00 | ||||
ccf40d3ba5eed106abc518f7c58a4a72b5c1f732ec33cad5e0617b54ff46fa22 | coding | ["### Instructions: You are an expert Python programmer. You will be given a question (problem speci(...TRUNCATED) | leetcode_minimum-number-game | "[{\"input\": \"[5, 4, 2, 3]\", \"output\": \"[3, 2, 5, 4]\", \"testtype\": \"functional\"}, {\"inpu(...TRUNCATED) | "eJyVV8uKW0cQzcL7/ILQWgT1u9ufkVWM8cIYBwxhbLBmEYIhH5H8b/o8WrqSBjIyqlHp3u7qqlOnqtp/v/n33c8/8d9vv07l/V/(...TRUNCATED) | {"question_title":"minimum-number-game","question_content":"You are given a 0-indexed integer array (...TRUNCATED) | 2023-12-23T00:00:00 | https://leetcode.com/problems/minimum-number-game via livecodebench (https://livecodebench.github.io/) | LCB_generation | 2024-07-26T00:00:00 | ||||
d5213885ecf30ec0d5b6fa5e53af31eb5ed207d3257b2ae8843b1eed735ac7a5 | coding | ["### Instructions: You are an expert Python programmer. You will be given a question (problem speci(...TRUNCATED) | atcoder_Langton's Takahashi | "[{\"input\": \"3 4 5\\n\", \"output\": \".#..\\n##..\\n....\\n\", \"testtype\": \"stdin\"}, {\"inpu(...TRUNCATED) | "eJztXMtu1DAUZcGHWLnbypo0b36ADWKNBOzoopuhUtMFqirxEfC/JH4kTvyIcVI6wPGM3PTOyXHiXN+5x07m++uf79+9EuXD22H(...TRUNCATED) | {"question_title":"Langton's Takahashi","question_content":"There is a grid with H rows and W column(...TRUNCATED) | 2024-02-03T00:00:00 | https://atcoder.jp/contests/abc339/tasks/abc339_b via livecodebench (https://livecodebench.github.io/) | LCB_generation | 2024-07-26T00:00:00 | ||||
df00a4688e96b001f32ffd39913ae151bfa14034bdca636193c96974529f7cf9 | coding | ["### Instructions: You are an expert Python programmer. You will be given a question (problem speci(...TRUNCATED) | atcoder_Many Replacement | "[{\"input\": \"7\\natcoder\\n4\\nr a\\nt e\\nd v\\na r\\n\", \"output\": \"recover\\n\", \"testtype(...TRUNCATED) | "eJyMvMmu7Ei2HaiBfkKzixxroObVRF8iQHdiDa3vezNBqAL047XIuJmWOnoClBHhedydtGbb3qsxkv7//dv/+j//3f/7b/7bf/+(...TRUNCATED) | {"question_title":"Many Replacement","question_content":"You are given a string S of length N consis(...TRUNCATED) | 2024-02-24T00:00:00 | https://atcoder.jp/contests/abc342/tasks/abc342_c via livecodebench (https://livecodebench.github.io/) | LCB_generation | 2024-07-26T00:00:00 | ||||
c675d9db6b456f793da486f16102468ed1e241bbb7846039608b2c0f9c5d1012 | coding | ["### Instructions: You are an expert Python programmer. You will be given a question (problem speci(...TRUNCATED) | leetcode_find-longest-special-substring-that-occurs-thrice-i | "[{\"input\": \"\\\"aaaa\\\"\", \"output\": \"2\", \"testtype\": \"functional\"}, {\"input\": \"\\\"(...TRUNCATED) | "eJylkkFOxDAMRZHgIFXWA1LFAsRJkJhZZGK30zRN0tRNmiAkDgFnYMcZYRALIAhU5a8cy8+W/fN49vx6evKh25f34O6eddrOxG4(...TRUNCATED) | {"question_title":"find-longest-special-substring-that-occurs-thrice-i","question_content":"You are (...TRUNCATED) | 2023-12-30T00:00:00 | https://leetcode.com/problems/find-longest-special-substring-that-occurs-thrice-i via livecodebench (https://livecodebench.github.io/) | LCB_generation | 2024-07-26T00:00:00 | ||||
5a87f768962bad5e67430639470f03835d0f2abf3fb39f38cf96145ce768f485 | coding | ["### Instructions: You are an expert Python programmer. You will be given a question (problem speci(...TRUNCATED) | atcoder_Print 341 | "[{\"input\": \"4\\n\", \"output\": \"101010101\\n\", \"testtype\": \"stdin\"}, {\"input\": \"1\\n\"(...TRUNCATED) | "eJxrYJmqz8YABhEaQEZ0tVJmXkFpiZKVgpJRTJ6SjoJSfmkJVMDQAAghgiWpxSUllQWpIOHikpTMPKVaHQUkvcZY9RKr28QMh3b(...TRUNCATED) | {"question_title":"Print 341","question_content":"Given a positive integer N, print a string of N ze(...TRUNCATED) | 2024-02-17T00:00:00 | https://atcoder.jp/contests/abc341/tasks/abc341_a via livecodebench (https://livecodebench.github.io/) | LCB_generation | 2024-07-26T00:00:00 | ||||
3375d42f6db384f62b159eb89a85d715736790fd1abb380760ffbd12339fd4d5 | coding | ["### Instructions: You are an expert Python programmer. You will be given a question (problem speci(...TRUNCATED) | leetcode_maximum-xor-product | "[{\"input\": \"12\\n5\\n4\", \"output\": \"98\", \"testtype\": \"functional\"}, {\"input\": \"6\\n7(...TRUNCATED) | "eJyVks1KRDEMhQV9kEvXgzRpfhqfRPC6EBlhQDoD9i5EBHfuXOn7mooLpwPSGyi0gXw5Oc3bxdfH+dlPXL/75eYl7MphqeFqCjC(...TRUNCATED) | {"question_title":"maximum-xor-product","question_content":"Given three integers a, b, and n, return(...TRUNCATED) | 2023-11-18T00:00:00 | https://leetcode.com/problems/maximum-xor-product via livecodebench (https://livecodebench.github.io/) | LCB_generation | 2024-07-26T00:00:00 |
End of preview. Expand in Data Studio
- Downloads last month
- 26