Last active
September 14, 2023 11:33
-
-
Save oguz-ismail/fafb90cd4aa0bf9f39bb78a60d4f65e8 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
# header | |
for d in 7 42 77 101 121 1001 1111 7512 12345 110000 902180; do | |
n=0 | |
# code (124 bytes) | |
f()for e do case $e in *==*=*|*[!0-9]0[0-9]*);;*=*)((n+=e));esac done;h=${d%?};eval "f ${h//?/&{+,-,*,==,\}}${d#$h}";echo $n | |
# footer | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment