摘要:
1. 题目 John got a full mark on PAT. He was so happy that he decided to hold a raffle(抽奖) for his followers on Weibo -- that is, he would select winners 阅读全文
摘要:
1. 题目 Given three integers A, B and C in \((−2^{63},2^{63})\), you are supposed to tell whether A+B>C. Input Specification: The first line of the inpu 阅读全文
摘要:
1. 题目 The task is really simple: given N exits on a highway which forms a simple cycle, you are supposed to tell the shortest distance between any pai 阅读全文
摘要:
1. 题目 Shuffling is a procedure used to randomize a deck of playing cards. Because standard shuffling techniques are seen as weak, and in order to avoi 阅读全文
摘要:
1. 题目 This time you are asked to tell the difference between the lowest grade of all the male students and the highest grade of all the female student 阅读全文
摘要:
1. 题目 With the 2010 FIFA World Cup running, football fans the world over were becoming increasingly excited as the best players from the best teams do 阅读全文
摘要:
1. 题目 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 th 阅读全文
摘要:
1. 题目 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 th 阅读全文
摘要:
1. 题目 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 cas 阅读全文
摘要:
1. 题目 Calculate a+b and output the sum in standard format -- that is, the digits must be separated into groups of three by commas (unless there are le 阅读全文