Skip to main content
added 290 characters in body
Source Link
sergiol
  • 3.5k
  • 1
  • 15
  • 31

Tcl, 7744 bytes

setputs j"-1 -1
time {set i0 -21
time {puts [expr1 [incr-1
-1 i]|$j?"$i0
1 $j":""]}0
-1 31
incr0 j}1
1 31"

Try it online!Try it online!

---

Tcl, 77 bytes

set j -1
time {set i -2
time {puts [expr [incr i]|$j?"$i $j":""]} 3
incr j} 3

Try it online!

Tcl, 77 bytes

set j -1
time {set i -2
time {puts [expr [incr i]|$j?"$i $j":""]} 3
incr j} 3

Try it online!

Tcl, 44 bytes

puts "-1 -1
0 -1
1 -1
-1 0
1 0
-1 1
0 1
1 1"

Try it online!

---

Tcl, 77 bytes

set j -1
time {set i -2
time {puts [expr [incr i]|$j?"$i $j":""]} 3
incr j} 3

Try it online!

Source Link
sergiol
  • 3.5k
  • 1
  • 15
  • 31

Tcl, 77 bytes

set j -1
time {set i -2
time {puts [expr [incr i]|$j?"$i $j":""]} 3
incr j} 3

Try it online!