网站首页 站内搜索

搜索结果

查询Tags标签: Imgonnawin,共有 3条记录
  • 1124 Raffle for Weibo Followers (20 分)

    1. 题目 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 away gifts. Now you are supposed to he…

    2021/10/28 23:15:58 人评论 次浏览
  • 1124 Raffle for Weibo Followers (20 分)

    1. 题目 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 away gifts. Now you are supposed to he…

    2021/10/28 23:15:58 人评论 次浏览
  • PTA basic 1069 微博转发抽奖 (20 分) c++语言实现(g++)

    小明 PAT 考了满分,高兴之余决定发起微博转发抽奖活动,从转发的网友中按顺序每隔 N 个人就发出一个红包。请你编写程序帮助他确定中奖名单。 输入格式: 输入第一行给出三个正整数 M(≤ 1000)、N 和 S,分别是转发的总量、小明决定的中奖间隔、以及第一位中奖者的序号…

    2021/5/11 14:25:23 人评论 次浏览
扫一扫关注最新编程教程