|
Download tasks/format-code-task-000011/instruction.md from FineEnvs/MiMo-V2.6-RL-harbor-code: direct link, hf CLI and curl.
- Browser
- Download file 1.54 kB
-
https://huggingface.co/datasets/FineEnvs/MiMo-V2.6-RL-harbor-code/resolve/main/tasks/format-code-task-000011/instruction.md
- Command line
-
hf download hf://datasets/FineEnvs/MiMo-V2.6-RL-harbor-code/tasks/format-code-task-000011/instruction.md
-
curl -L -o instruction.md https://huggingface.co/datasets/FineEnvs/MiMo-V2.6-RL-harbor-code/resolve/main/tasks/format-code-task-000011/instruction.md
1.54 kB
Fix the following issue:
1277 and 338 directories are placeholders — please fill them in
I was browsing this repo looking for the Go solutions to a couple of LeetCode problems and noticed that 1277. Count Square Submatrices with All Ones and 338. Counting Bits both appear to be unfinished placeholders.
In leetcode/1201-1300/1277.Count-Square-Submatrices-with-All-Ones/ and leetcode/301-400/0338.Counting-Bits/, the contents look like this:
README.mdhas the> [!WARNING|style:flat]banner saying "This question is temporarily unanswered if you have good ideas. Welcome to Create Pull Request PR".- The
## Descriptionsection is mostly empty, and the only example given is:
which clearly belongs to some other problem (looks like a string-addition / add-binary kind of question), not to 1277 or 338.Input: a = "11", b = "1" Output: "100" Solution.goonly contains the dummy stub:Thepackage Solution func Solution(x bool) bool { return x }boolsignature obviously doesn't match either problem — 1277 takes a 2D matrix and returns a count, 338 takes an integernand returns a slice.
Could someone fill these two in properly? Specifically, for each of the two problems:
- update
README.mdso the description and example(s) actually match what LeetCode is asking for, - and replace the stub
Solution.gowith a real implementation using a function signature that fits the problem's input/output.
Happy to review if someone picks them up. Thanks!