Oops a very lucky mistake on Day 4 Question 1
This commit is contained in:
@@ -46,7 +46,7 @@ int main() {
|
||||
|
||||
// Really convenient that integers are floored
|
||||
x = currentPosition % width;
|
||||
y = currentPosition / height;
|
||||
y = currentPosition / width;
|
||||
uint8_t neighbourCount = 0;
|
||||
|
||||
// Just check for 5 since we know middle is definetly @ always
|
||||
|
||||
Reference in New Issue
Block a user