Timeline for Visible Buildings
Current License: CC BY-SA 3.0
13 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Aug 28, 2016 at 18:49 | history | edited | Leaky Nun | CC BY-SA 3.0 |
added 45 characters in body
|
Aug 28, 2016 at 17:30 | comment | added | H Walters |
Change ++j to ++j%n (+2 bytes), and j-m to j%n-m (+2 bytes). Then you can remove ,j%=n (-5 bytes).
|
|
Aug 28, 2016 at 10:41 | comment | added | Leaky Nun | @Arnauld Apparently I'm an idiot. | |
Aug 28, 2016 at 10:40 | history | edited | Leaky Nun | CC BY-SA 3.0 |
deleted 5 characters in body
|
Aug 28, 2016 at 10:40 | comment | added | Arnauld |
Hmm. You don't need to declare m,i,j twice, do you?
|
|
Aug 28, 2016 at 10:36 | comment | added | Leaky Nun | @Arnauld Thanks, updated | |
Aug 28, 2016 at 10:36 | history | edited | Leaky Nun | CC BY-SA 3.0 |
added 36 characters in body
|
Aug 28, 2016 at 10:25 | comment | added | Arnauld |
I you define another global variable (say x ) and do x= instead of return in the g() function, then I think you can do {g(i,j-m);putchar(x?x*x-1?32:42:64);} and save 7 bytes. (Or 8 bytes if you also remove the line break. Is it really required?)
|
|
Aug 28, 2016 at 5:58 | history | edited | Leaky Nun | CC BY-SA 3.0 |
added 42 characters in body
|
Aug 28, 2016 at 5:53 | history | edited | Leaky Nun | CC BY-SA 3.0 |
added 37 characters in body
|
Aug 28, 2016 at 5:47 | review | Low quality posts | |||
Aug 28, 2016 at 5:52 | |||||
Aug 28, 2016 at 5:37 | history | edited | Leaky Nun | CC BY-SA 3.0 |
deleted 2 characters in body
|
Aug 28, 2016 at 5:31 | history | answered | Leaky Nun | CC BY-SA 3.0 |