摘要:
Time Limit: 2 Seconds Memory Limit: 65536 KB One measure of ``unsortedness'' in a sequence is the number of pairs of entries that are out of order with respect to each other. For instanc... 阅读全文
posted @ 2012-03-16 18:41
Gavin Lipeng Ma
阅读(630)
评论(0)
推荐(0)
摘要:
Time Limit: 2 Seconds Memory Limit: 65536 KB It is said that 90% of frosh expect to be above average in their class. You are to provide a reality check. Input The first line of standard inpu... 阅读全文
posted @ 2012-03-16 16:18
Gavin Lipeng Ma
阅读(256)
评论(0)
推荐(0)
摘要:
Time Limit: 2 Seconds Memory Limit: 65536 KB Given two integers n and m, count the number of pairs of integers (a,b) such that 0 < a < b < n and (a^2+b^2 +m)/(ab) is an integer. This problem ... 阅读全文
posted @ 2012-03-16 16:08
Gavin Lipeng Ma
阅读(229)
评论(0)
推荐(0)
浙公网安备 33010602011771号