摘要:
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 case occu 阅读全文
摘要:
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 the elev 阅读全文
摘要:
Given a sequence of K integers { N1, N2, ..., NK }. A continuous subsequence is defined to be { Ni, Ni+1, ..., Nj } where 1. The Max 阅读全文
摘要:
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 the door 阅读全文
摘要:
1005 Spell It Right 1005 Spell It Right 1005 Spell It Right Given a non-negative integer N, your task is to compute the sum of all the digits of N, an 阅读全文
摘要:
A family hierarchy is usually presented by a pedigree tree. Your job is to count those family members who have no child. Input Specification: Each inp 阅读全文
摘要:
1001 A+B Format (20 分) 1001 A+B Format (20 分) 1001 A+B Format (20 分) Calculate a+b and output the sum in standard format -- that is, the digits must b 阅读全文