mirror of
https://github.com/open-thought/reasoning-gym.git
synced 2026-04-19 12:58:07 +00:00
lint
This commit is contained in:
parent
21c47db6c1
commit
ebb88e6c6a
24 changed files with 1215 additions and 814 deletions
|
|
@ -48,7 +48,9 @@ def get_readint_code():
|
|||
code += ">" # point to tmp
|
||||
code += "[<++++++++++>-]" # res = tmp * 10, tmp = 0
|
||||
code += ">" # point to input
|
||||
code += "-" * (0x30 - 10) # convert character to a digit by subtracting 0x30 from it (we already subtracted 10 before)
|
||||
code += "-" * (
|
||||
0x30 - 10
|
||||
) # convert character to a digit by subtracting 0x30 from it (we already subtracted 10 before)
|
||||
code += "[<<+>>-]" # res += input
|
||||
code += "]" # end if
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue