摘要: Problem DescriptionXinlv wrote some sequences on the paper a long time ago, they might be arithmetic or geometric sequences. The numbers are not very ... 阅读全文
posted @ 2015-08-19 23:04 UniqueColor 阅读(197) 评论(0) 推荐(0)
摘要: Problem DescriptionFollowing is the recursive definition of Fibonacci sequence:Fi=⎧⎩⎨01Fi−1+Fi−2i = 0i = 1i > 1Now we need to check whether a number c... 阅读全文
posted @ 2015-08-19 22:36 UniqueColor 阅读(258) 评论(0) 推荐(0)
摘要: Problem DescriptionThere are x cards on the desk, they are numbered from 1 to x. The score of the card which is numbered i(1 2 #include 3 #include 4 #... 阅读全文
posted @ 2015-08-19 22:09 UniqueColor 阅读(204) 评论(0) 推荐(0)
摘要: Problem DescriptionJohn has n points on the X axis, and their coordinates are (x[i],0),(i=0,1,2,…,n−1). He wants to know how many pairs that |x[b]−x[a... 阅读全文
posted @ 2015-08-19 18:11 UniqueColor 阅读(761) 评论(0) 推荐(0)
摘要: Break Standard WeightTime Limit: 2 Seconds Memory Limit: 65536 KBThe balance was the first mass measuring instrument invented. In its traditional f... 阅读全文
posted @ 2015-08-19 03:32 UniqueColor 阅读(317) 评论(0) 推荐(0)
摘要: Problem Description The TV shows such as You Are the One has been very popular. In order to meet the need of boys who are still single, TJUT hold the... 阅读全文
posted @ 2015-08-19 02:03 UniqueColor 阅读(304) 评论(0) 推荐(0)