摘要: This time, you are supposed to find A*B where A and B are two polynomials.Input Specification:Each input file contains one test case. Each case occupi... 阅读全文
posted @ 2015-03-16 20:09 Joilee 阅读(572) 评论(0) 推荐(0) 编辑
摘要: The highest building in our city has only one elevator. A request list is made up with N positive numbers. The numbers denote at which floors the elev... 阅读全文
posted @ 2015-03-16 18:02 Joilee 阅读(232) 评论(0) 推荐(0) 编辑
摘要: Given a sequence of K integers { N1, N2, ..., NK}. A continuous subsequence is defined to be { Ni, Ni+1, ..., Nj} where 1 5 #include 6 #include 7 #... 阅读全文
posted @ 2015-03-16 17:46 Joilee 阅读(216) 评论(0) 推荐(0) 编辑
摘要: At the beginning of every day, the first person who signs in the computer room will unlock the door, and the last one who signs out will lock the door... 阅读全文
posted @ 2015-03-16 15:31 Joilee 阅读(144) 评论(0) 推荐(0) 编辑
摘要: This time, you are supposed to find A+B where A and B are two polynomials.InputEach input file contains one test case. Each case occupies 2 lines, and... 阅读全文
posted @ 2015-03-16 12:29 Joilee 阅读(146) 评论(0) 推荐(0) 编辑
摘要: A gas station has to be built at such a location that the minimum distance between the station and any of the residential housing is as far away as po... 阅读全文
posted @ 2015-03-16 11:59 Joilee 阅读(129) 评论(0) 推荐(0) 编辑