Created
January 13, 2021 04:12
-
-
Save astonm/61f86e0d439a99bc6b03dce63c0e7fb4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
a = 24680000 | |
b = 13570000 | |
out = 0 | |
a = a // 10 | |
b = b // 10 | |
a = a // 10 | |
b = b // 10 | |
a = a // 10 | |
b = b // 10 | |
a = a // 10 | |
b = b // 10 | |
tmp1 = a // 10 | |
tmp1 = tmp1 * 10 | |
ret = a - tmp1 | |
a = a // 10 | |
out = out * 10 | |
out = out + ret | |
tmp2 = b // 10 | |
tmp2 = tmp2 * 10 | |
ret = b - tmp2 | |
b = b // 10 | |
out = out * 10 | |
out = out + ret | |
tmp3 = a // 10 | |
tmp3 = tmp3 * 10 | |
ret = a - tmp3 | |
a = a // 10 | |
out = out * 10 | |
out = out + ret | |
tmp4 = b // 10 | |
tmp4 = tmp4 * 10 | |
ret = b - tmp4 | |
b = b // 10 | |
out = out * 10 | |
out = out + ret | |
tmp5 = a // 10 | |
tmp5 = tmp5 * 10 | |
ret = a - tmp5 | |
a = a // 10 | |
out = out * 10 | |
out = out + ret | |
tmp6 = b // 10 | |
tmp6 = tmp6 * 10 | |
ret = b - tmp6 | |
b = b // 10 | |
out = out * 10 | |
out = out + ret | |
tmp7 = a // 10 | |
tmp7 = tmp7 * 10 | |
ret = a - tmp7 | |
a = a // 10 | |
out = out * 10 | |
out = out + ret | |
tmp8 = b // 10 | |
tmp8 = tmp8 * 10 | |
ret = b - tmp8 | |
b = b // 10 | |
out = out * 10 | |
out = out + ret | |
print(f'{a=}') | |
print(f'{b=}') | |
print(f'{out=}') | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment