Timeline for Find the best move in a game of Tetris
Current License: CC BY-SA 3.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 17, 2020 at 9:04 | history | edited | CommunityBot |
Commonmark migration
|
|
Sep 8, 2014 at 9:25 | comment | added | Alchymist | puts("") is even shorter if you just want a newline. Also you can use return!c (no space). The first time you use an index of a for loop, you can omit the initialisation to 0 as the variables are declared globally. Also, I think you use the function E only once so it should be possible to just put it inline. | |
Sep 5, 2014 at 19:51 | comment | added | Josh |
At the global scale, you can drop the int as it's assumed. Several of your printfs only output a single character. You might be able to replace them with equivalent putchar to save a couple of characters. For example, changing printf("\n") to putchar(10) :)
|
|
S Sep 5, 2014 at 18:30 | history | suggested | proud haskeller | CC BY-SA 3.0 |
better header
|
Sep 5, 2014 at 16:53 | review | Suggested edits | |||
S Sep 5, 2014 at 18:30 | |||||
Sep 5, 2014 at 15:34 | history | answered | mikail sheikh | CC BY-SA 3.0 |