
PAT (Advanced Level) Practice
Genius_panda_ACM
仗义每从屠狗辈,负心多是读书人。
展开
-
1002 A+B for Polynomials(多项式加法) (25 分)
1002 A+B for Polynomials (25 分)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 occupies 2 lines, a...原创 2019-02-23 21:28:27 · 266 阅读 · 0 评论 -
1005 Spell It Right
Given a non-negative integer N, your task is to compute the sum of all the digits of N, and output every digit of the sum in English.Input Specification:Each input file contains one test case. Eac...原创 2019-02-24 10:48:03 · 211 阅读 · 0 评论 -
1006 Sign In and Sign Out (25 分)
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. Given the records of signing in's and out's, you...原创 2019-02-24 13:00:11 · 216 阅读 · 0 评论 -
1011 World Cup Betting (20 分)
With the 2010 FIFA World Cup running, football fans the world over were becoming increasingly excited as the best players from the best teams doing battles for the World Cup trophy in South Africa. Si...原创 2019-02-24 16:47:00 · 214 阅读 · 0 评论