Skip to main content
replaced http://codegolf.stackexchange.com/ with https://codegolf.stackexchange.com/
Source Link

#GolfScript, 20 bytes [safe]

##Code

...[[]]{{}}&%%++++5i

##Output

32

Output does not have a newline character in the end.

Inspired by this commentthis comment.

##Solution

.{5i[+]+}.%{}++[.%]&

#GolfScript, 20 bytes [safe]

##Code

...[[]]{{}}&%%++++5i

##Output

32

Output does not have a newline character in the end.

Inspired by this comment.

##Solution

.{5i[+]+}.%{}++[.%]&

#GolfScript, 20 bytes [safe]

##Code

...[[]]{{}}&%%++++5i

##Output

32

Output does not have a newline character in the end.

Inspired by this comment.

##Solution

.{5i[+]+}.%{}++[.%]&

added 44 characters in body
Source Link
jimmy23013
  • 37k
  • 6
  • 77
  • 148

#GolfScript, 20 bytes [safe]

##Code

...[[]]{{}}&%%++++5i

##Output

32

Output does not have a newline character in the end.

Inspired by this comment.

##Solution

.{5i[+]+}.%{}++[.%]&

#GolfScript, 20 bytes

##Code

...[[]]{{}}&%%++++5i

##Output

32

Output does not have a newline character in the end.

Inspired by this comment.

#GolfScript, 20 bytes [safe]

##Code

...[[]]{{}}&%%++++5i

##Output

32

Output does not have a newline character in the end.

Inspired by this comment.

##Solution

.{5i[+]+}.%{}++[.%]&

Source Link
jimmy23013
  • 37k
  • 6
  • 77
  • 148

#GolfScript, 20 bytes

##Code

...[[]]{{}}&%%++++5i

##Output

32

Output does not have a newline character in the end.

Inspired by this comment.