发表评论取消回复
相关阅读
相关 1124 Raffle for Weibo Followers (20point(s)) 模拟
题目链接题目链接思路理解题意:每隔n个人选一个获奖者,但是要求这n个人里面不能有已经获奖的人;思路:用一个set保存已经获奖的人,s代表下一个获奖人的次序,依次读入每一个...
相关 PAT (Advanced Level) Practice 1076 Forwards on Weibo
BFS遍历+记录layer,比较简单... include <iostream> include <stdio.h> include <queue>
相关 【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】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
还没有评论,来说两句吧...