map
Oliver_H_
这个作者很懒,什么都没留下…
展开
-
1071 Speech Patterns(map+cctype+auto)
People often have a preference among synonyms of the same word. For example, some may prefer “the police”, while others may prefer “the cops”. Analyzing such patterns can help to narrow down a speaker...原创 2019-08-31 14:41:47 · 89 阅读 · 0 评论 -
1124 Raffle for Weibo Followers(map)
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 from every N followers who forwarded his post, and give ...原创 2019-09-04 16:22:14 · 117 阅读 · 0 评论 -
1112 Stucked Keyboard(map+set)
On a broken keyboard, some of the keys are always stucked. So when you type some sentences, the characters corresponding to those keys will appear repeatedly on screen for k times. Now given a resulti...原创 2019-09-05 11:27:51 · 118 阅读 · 0 评论 -
1137 Final Grading(vector+map)
For a student taking the online course “Data Structures” on China University MOOC (http://www.icourse163.org/), to be qualified for a certificate, he/she must first obtain no less than 200 points from...原创 2019-09-06 11:20:03 · 134 阅读 · 0 评论 -
1141 PAT Ranking of Institutions(map+vector+tolower+结构体+sort)
After each PAT, the PAT Center will announce the ranking of institutions based on their students’ performances. Now you are asked to generate the ranklist. Input Specification: Each input file contain...原创 2019-09-06 15:15:02 · 113 阅读 · 0 评论