摘要: 1069 微博转发抽奖 (20分) https://pintia.cn/problem-sets/994805260223102976/problems/994805265159798784 1、使用vector来保存输入的用户名。 2、使用map来进行筛选,记录用户是否已经中奖。 1 #inclu 阅读全文
posted @ 2020-01-18 23:43 yyer 阅读(205) 评论(0) 推荐(0) 编辑
摘要: 1072 开学寄语 (20分) https://pintia.cn/problem-sets/994805260223102976/problems/994805263964422144 第一次:格式错误 第二次:AC 两种方法: 1 #include <iostream> 2 #include < 阅读全文
posted @ 2020-01-18 20:04 yyer 阅读(176) 评论(0) 推荐(0) 编辑
摘要: 1071 小赌怡情 (15分) https://pintia.cn/problem-sets/994805260223102976/problems/994805264312549376 1 #include <cstdio> 2 #include <iostream> 3 #include <al 阅读全文
posted @ 2020-01-18 19:05 yyer 阅读(143) 评论(0) 推荐(0) 编辑