摘要:
1088 Rational Arithmetic (20 分) For two rational numbers, your task is to implement the basic arithmetics, that is, to calculate their sum, difference 阅读全文
摘要:
1081 Rational Sum (20 分) Given N rational numbers in the form numerator/denominator, you are supposed to calculate their sum. Input Specification: Eac 阅读全文
摘要:
1104 Sum of Number Segments (20 分) Given a sequence of positive numbers, a segment is defined to be a consecutive subsequence. For example, given the 阅读全文
摘要:
1059 Prime Factors (25 分) Given any positive integer NNN, you are supposed to find all of its prime factors, and write them in the format NNN = p1k1×p 阅读全文
摘要:
1039 Course List for Student (25 分) Zhejiang University has 40000 students and provides 2500 courses. Now given the student name lists of all the cour 阅读全文
摘要:
1055 The World's Richest (25 分) Forbes magazine publishes every year its list of billionaires based on the annual ranking of the world's wealthiest pe 阅读全文
摘要:
1048 Find Coins (25 分) Eva loves to collect coins from all over the universe, including some other planets like Mars. One day she visited a universal 阅读全文