Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|

Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |

Language: Homogeneous Squares
Description Assume you have a square of size Assume further that a number is written in each position of such an Input The input contains several test cases. The first line of each test case contains an integer The last test case is followed by a zero. Output For each test case output whether the specified square is homogeneous or not. Adhere to the format shown in the sample output. Sample Input 2 1 2 3 4 3 1 3 4 8 6 -2 -3 4 0 0 Sample Output homogeneous not homogeneous Source |

[Submit] [Go Back] [Status] [Discuss]

All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di

Any problem, Please Contact Administrator