Feature:刷题
@kidultff

PAT-A 真题 – 1050 String Subtraction

Given two strings S1 and S2, S=S1−S2 is defined to be the remaining string after taking all the characters in S2 from S1. Your task is simply to calculate S1−S2 for any given stri ...
  • 0
  • 0
@kidultff

PAT-A 真题 – 1048 Find Coins

Eva loves to collect coins from all over the universe, including some other planets like Mars. One day she visited a universal shopping mall which could accept all kinds of coins as payments. However, there was a special requirem ...
  • 0
  • 0
@kidultff

PAT-A 真题 – 1047 Student List for Course

Zhejiang University has 40,000 students and provides 2,500 courses. Now given the registered course list of each student, you are supposed to output the student name lists of all the courses.Input Specification:Each input file co ...
  • 0
  • 0
@kidultff

PAT-A 真题 – 1041 Be Unique

Being unique is so important to people on Mars that even their lottery is designed in a unique way. The rule of winning is simple: one bets on a number chosen from [1,104]. The first one who bets on a unique number wins. For exam ...
  • 0
  • 0
@kidultff

PAT-A 真题 – 1039 Course List for Student

Zhejiang University has 40000 students and provides 2500 courses. Now given the student name lists of all the courses, you are supposed to output the registered course list for each student who comes for a query.Input Specificati ...
  • 0
  • 0