79699968

Date: 2025-07-13 12:57:54
Score: 0.5
Natty:
Report link

short solution; no bc dc or printf solution using bash

bin() {
  echo "$(($( (($1)) && bin $(($1 / 2)))$(($1 % 2))))"
}

oct() {
  echo "$(($( (($1)) && oct $(($1 / 8)))$(($1 % 8))))"
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: nopeless