(2) Values indicating the state (0 or 1) are stored in the two-dimensional array s. The state values in row 1 and the rows which follow it are generated according to the following rules from the initial values stored in row 0, as shown in the table above. The state value of row i, column j is represented by s[i][j]. All of the values in column 0 are 0. The values of s[i+1][j] (where j 1) are generated according to the following table, based on the initial values of s[i][j-1] and s[i][j]. | 2 Values indicating the state 0 or 1 are stored in the two-dimensional array s. The state values in row 1 and the rows which follow it are generated according to the following rules from the initial values stored in row 0 as shown in the table above. Đ The state value of row i column j is represented by s i j . All of the values in column 0 are 0. The values of s i i j where j ằ 1 are generated according to the following table based on the initial values of s i j-i and s i j . State values serving as base Generated state value s i 1 j s i j-1 s i j 1 1 0 1 0 1 0 1 1 0 0 0 3 The values of column 0 row 32 in the two-dimensional array s are not output. 24 Program Trung include define define define ALIVE DEAD sz 1 0 33 int stschki int main int int S sz sz i j i 0 i sz i j 2 j sz j alive i sz-l i for j l j sz j __ I a stschk I b if b I ALIVE s i 0 dead s 0 j1 dead int for for s 0 l for i 0 else printf stschkf int si int s2 printf printf ơđào tao c if S1 DEAD s2 ALIVE sl ALIVE s2 DEAD else return DEAD return alive Subquestion 1 .IE. . From the answer group below select the correct answers to be inserted in the blanks through c in the above program. a c http Answer group a S i-I j-1 d s i j-1 g s i 1 j-1 b s i-1 j e s i j h s i 1 j c s i-1 j 1 f s i j 1 i s i 1 j 1 25 Subquestion 2 A graphic such as that shown below was output when the if statement for the function stschk was changed. From the answer group below select the if statement leading to this result. Trung tâm Sát hại và Hỗ trự đào tạo Answer group a if s1 ALIVE s2 ALIVE return ALIVE else return DEAD else return b if s1 ALIVE s2 ALIVE return ALIVE c if s1 DEAD s2 DEAD return DEAD else return ALIVE d if s1 ALIVE s2 DEAD s1 DEAD s2 ALIVE return ALIVE else return DEAD .