摘要: Problem DescriptionYou are given threen×nmatricesA,BandC. Does the equationA×B=Chold true?InputThe first line of input contains a positive integern(n≤ 500) followed by the the three matricesA,BandCrespectively. Each matrix's description is a block of n × n integers.It guarantees t 阅读全文
posted @ 2014-01-15 17:15 persistent codeants 阅读(139) 评论(0) 推荐(0)
摘要: Cow SortingTime Limit : 4000/2000ms (Java/Other)Memory Limit : 131072/65536K (Java/Other)Total Submission(s) : 16Accepted Submission(s) : 2Problem DescriptionFarmer John'sN(1 ≤N≤ 10,000) cows are lined up to be milked in the evening. Each cow has a unique "grumpiness" level in the rang 阅读全文
posted @ 2014-01-15 16:17 persistent codeants 阅读(256) 评论(0) 推荐(0)