English [HackIM 2016] [Programming 500 – Programming Question 5] Write Up

Description

Programming Question 5 500 pts

Dont blink your Eyes, you might miss it. But the fatigue and exhaustion rules out any logic, any will to stay awake. What you need now is a slumber. Cat nap will not do. 1 is LIFE and 0 is DEAD. in this GAME OF LIFE sleep is as important food. So… catch some sleep. But Remember…In the world of 10×10 matirx, the Life exists. If you SLOTH, sleep for 7 Ticks, or 7 Generation, In the game of Life can you tell what will be the state of the world?

The world- 10×10

0000000000,0000000000,0001111100,0000000100,0000001000,0000010000,0000100000,0001000000,0000000000,000000000

Resolution

We formatted the string using a matrix of 10×10 as stated in the question:

0000000000
0000000000
0001111100
0000000100
0000001000
0000010000
0000100000
0001000000
0000000000
000000000

The Game of Life is a cellular evolution automaton, but this time in a matrix form.

It is asked for the 7th generation, that gives the following 10×10 matrix:

0000000000
0001100000
0001111010
0000001001
0000001010
0000000000
0000000000
0000000000
0000000000
0000000000

Flag was “0000000000,0001100000,0001111010,0000001001,0000001010,0000000000,0000000000,0000000000,0000000000,0000000000“.

Leave a Reply

Your email address will not be published. Required fields are marked *