Skip to main content
added 40 characters in body
Source Link
AlexRacer
  • 1k
  • 1
  • 6
  • 11

Pascal (FPC), 6767 65 bytes

Saved 2 bytes thanks to @tsh

var i:int32;begin for i:=0to=1to 1<<24-1do1<<24do writeln('#',hexStr(i,6))end.

Try it online!Try it online!

Writes on standard output. It can be stored in an array using procedure, but it will be longer.

Pascal (FPC), 67 bytes

var i:int32;begin for i:=0to 1<<24-1do writeln('#',hexStr(i,6))end.

Try it online!

Writes on standard output. It can be stored in an array using procedure, but it will be longer.

Pascal (FPC), 67 65 bytes

Saved 2 bytes thanks to @tsh

var i:int32;begin for i:=1to 1<<24do writeln('#',hexStr(i,6))end.

Try it online!

Writes on standard output. It can be stored in an array using procedure, but it will be longer.

Source Link
AlexRacer
  • 1k
  • 1
  • 6
  • 11

Pascal (FPC), 67 bytes

var i:int32;begin for i:=0to 1<<24-1do writeln('#',hexStr(i,6))end.

Try it online!

Writes on standard output. It can be stored in an array using procedure, but it will be longer.