上一页 1 2 3 4 5 6 7 ··· 11 下一页
摘要: On a broken keyboard, some of the keys are worn out. So when you type some sentences, the characters corresponding to those keys will not appear on screen.Now given a string that you are supposed to t... 阅读全文
posted @ 2015-12-06 11:42 白夜行zz 阅读(173) 评论(0) 推荐(0)
摘要: Given a list of N student records with name, ID and grade. You are supposed to sort the records with respect to the grade in non-increasing order, and output those student records of which the grades ... 阅读全文
posted @ 2015-12-06 11:41 白夜行zz 阅读(176) 评论(0) 推荐(0)
摘要: 屎一样的代码、、、、做完这个题就不想考试了、、、时间限制400 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueGiven an integer with no more than 9 digits, you are supposed to read it in the traditional Chinese way. Output "Fu" f... 阅读全文
posted @ 2015-12-06 11:40 白夜行zz 阅读(335) 评论(0) 推荐(0)
摘要: Given N rational numbers in the form "numerator/denominator", you are supposed to calculate their sum.Input Specification:Each input file contains one test case. Each case starts with a positive integ... 阅读全文
posted @ 2015-12-06 11:39 白夜行zz 阅读(198) 评论(0) 推荐(0)
摘要: It is said that in 2013, there were about 100 graduate schools ready to proceed over 40,000 applications in Zhejiang Province. It would help a lot if you could write a program to automate the admissio... 阅读全文
posted @ 2015-12-06 11:38 白夜行zz 阅读(176) 评论(0) 推荐(0)
摘要: A supply chain is a network of retailers(零售商), distributors(经销商), and suppliers(供应商)-- everyone involved in moving a product from supplier to customer.Starting from one root supplier, everyone on the ... 阅读全文
posted @ 2015-12-06 11:37 白夜行zz 阅读(168) 评论(0) 推荐(0)
摘要: 挺坑的,现百度的二次探测法。The task of this problem is simple: insert a sequence of distinct positive integers into a hash table, and output the positions of the input numbers. The hash function is defined to be "... 阅读全文
posted @ 2015-12-06 11:36 白夜行zz 阅读(136) 评论(0) 推荐(0)
摘要: The Japanese language is notorious for its sentence ending particles. Personal preference of such particles can be considered as a reflection of the speaker's personality. Such a preference is called ... 阅读全文
posted @ 2015-12-06 11:35 白夜行zz 阅读(233) 评论(0) 推荐(0)
摘要: The ranklist of PAT is generated from the status list, which shows the scores of the submittions. This time you are supposed to generate the ranklist for PAT.Input Specification:Each input file contai... 阅读全文
posted @ 2015-12-06 11:34 白夜行zz 阅读(180) 评论(0) 推荐(0)
摘要: 输入需要稍作变换,变为一个每个人和他的关注者的map 而不是他和他的关注人、然后bfs搜索。注意搜索层数的要求。Weibo is known as the Chinese version of Twitter. One user on Weibo may have many followers, and may follow many other users as well. Hence a so... 阅读全文
posted @ 2015-12-06 11:34 白夜行zz 阅读(180) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 ··· 11 下一页