Problem 56 Life is Simple

Back to Problem Solutions forum

s.ishmuratov     2019-10-01 06:03:24

Hi!

- - - X X X X
- - - X - - -
- X - X - X X
- - X X X X X
- X X X - - -

- - - X X X -
- - - X - - -
- - - - - - X
- - - - - - X
- X - - - X -

It's wrong! But why?! I don't understand... :(

s.ishmuratov     2019-10-01 06:06:20

Sorry... :)

---XXXX
---X---
-X-X-XX
--XXXXX
-XXX---

---XXX-
---X---
------X
------X
-X---X-

It's wrong! But why?! I don't understand... :(

Rodion (admin)     2019-10-01 17:10:22
User avatar

Hi! I'm not sure what you are trying to show - two consequent states or what...

Make sure please:

  • you don't cut off the cells at the edge of your field
  • they die and are born simultaneously.

P.S. note that you probably can easily find life game simultators online in the web and try your configuration to see how it changes.

s.ishmuratov     2019-10-02 06:17:14

Thanks for the help, Rodion. You wrote: - you don't cut off the cells at the edge of your field.

I used only 5x7 field. That was my mistake.

P.S. I like this site. Very interesting problems. :)

Dead Forest Foundation     2020-01-28 14:35:34
User avatar

I dont understand what's wrong too.

-X-X--X
XX-XXXX
--X-X--
X---X-X
-XXX-X-
test


XX-X--X
XX----X
X-X---X
----X--
-XXXXX-
16          first move


XXX----
-----XX
X----X-
----X--
--XXXX-
12          second move


-X-----
X----XX
----XXX
-------
---XXX-
10          3rd


-------
----X-X
----X-X
---X--X
----X--
7           4th


-------
-------
---XX-X
---XX--
-------
5           5th

but Expected answer was 8 9 9 13 8 Again: - any organism which have less than 2 or more than 3 neighbors will die (not passing to next turn); - at the same in each empty cell, which is surrounded by exactly 3 neighbor organisms, a new one is born.

Rodion (admin)     2020-01-28 15:02:40
User avatar

Hi! I'm not sure, but it looks like your answer was produced by different initial setup. This may happen, for example, if you reopen problem page (either reload or open in another browser tab). Please check this once more if possible.

You see, the result is too much different from input, which is weird :)

Dead Forest Foundation     2020-01-28 19:43:27
User avatar

Thank you for your answer, Rodion :) but I tried it 3 times. and always result was too much different. surprisingly, with an example it works without errors

Dead Forest Foundation     2020-01-29 05:46:19
User avatar

Okay, thanks:) I solved it from the fifth attempt

Please login and solve 5 problems to be able to post at forum