Skip to main content
added 1 character in body
Source Link
Xcali
  • 16.2k
  • 2
  • 15
  • 39

Perl 5 -ppl, 13 10 bytes

@Grimmy got it back down to 10 bytes, with correct output.

$_+=1<chop

Try it online!

Perl 5 -p, 13 10 bytes

@Grimmy got it back down to 10 bytes, with correct output.

$_+=1<chop

Try it online!

Perl 5 -pl, 13 10 bytes

@Grimmy got it back down to 10 bytes, with correct output.

$_+=1<chop

Try it online!

added 72 characters in body
Source Link
Xcali
  • 16.2k
  • 2
  • 15
  • 39

Perl 5 -p, 13 bytes13 10 bytes

@Grimmy got it back down to 10 bytes, with correct output.

$_=0|$_/10+.8$_+=1<chop

Try it online!Try it online!

Perl 5 -p, 13 bytes

$_=0|$_/10+.8

Try it online!

Perl 5 -p, 13 10 bytes

@Grimmy got it back down to 10 bytes, with correct output.

$_+=1<chop

Try it online!

added 5 characters in body
Source Link
Xcali
  • 16.2k
  • 2
  • 15
  • 39

Perl 5 -p, 1013 bytes

$_+=8;chop$_=0|$_/10+.8

Try it online!Try it online!

Perl 5 -p, 10 bytes

$_+=8;chop

Try it online!

Perl 5 -p, 13 bytes

$_=0|$_/10+.8

Try it online!

Source Link
Xcali
  • 16.2k
  • 2
  • 15
  • 39
Loading