发表评论取消回复
相关阅读
相关 1124 Raffle for Weibo Followers (20point(s)) 模拟
题目链接题目链接思路理解题意:每隔n个人选一个获奖者,但是要求这n个人里面不能有已经获奖的人;思路:用一个set保存已经获奖的人,s代表下一个获奖人的次序,依次读入每一个...
相关 【PAT (Advanced Level) Practice】1041 Be Unique (20 分)
1041 Be Unique (20 分) Being unique is so important to people on Mars that even their l
相关 【PAT (Advanced Level) Practice】1124 Raffle for Weibo Followers (20 分)
1124 Raffle for Weibo Followers (20 分) John got a full mark on PAT. He was so happy th
相关 【PAT (Advanced Level) Practice】1050 String Subtraction (20 分)
C/C++中整型数组的下标类型不一定为整型,C C++语言下数组性质与散列有些类似,即散列中的键值对:下标即为关键码,关键码通过散列函数映射得到元素即为值 下标可以为整型,
相关 【PAT (Advanced Level) Practice】1120 Friend Numbers (20 分)
1120 Friend Numbers (20 分) Two integers are called “friend numbers” if they share the
相关 【PAT (Advanced Level) Practice】PAT (Advanced Level) Practice
1006 Sign In and Sign Out (25 分) At the beginning of every day, the first person who s
相关 【PAT (Advanced Level) Practice】1008 Elevator (20 分)
include<iostream> include<cstdio> include<cstdlib> include<string> i
相关 1124. Raffle for Weibo Followers (20)
John got a full mark on PAT. He was so happy that he decided to hold a raffle(抽奖) for hi
相关 PAT (Advanced Level) Practice 1031 Hello World for U (20 分)
1031 Hello World for U (20 分) Given any string of N (≥5) characters, you are asked to f
相关 1124. Raffle for Weibo Followers (20)
John got a full mark on PAT. He was so happy that he decided to hold a raffle(抽奖) for hi
还没有评论,来说两句吧...