摘要: 小思路:建立string类型的二维数组stu[1005][2],假设试机座位号为t,将准考证号S1存在stu[t][0],考试座位号Stu[t][0]中,直接查询就好~ #include <iostream> #include <cstring> #include <cmath> using nam 阅读全文
posted @ 2020-07-06 21:02 啊哈小张同学 阅读(85) 评论(0) 推荐(0) 编辑
摘要: 小关键:题目要求不足1秒的时间四舍五入到秒,所以可以先给(c2-c1)加上50,这样如果(c2-c1)的小数位大于等于0.5就会进位,小于0.5则会舍去 #include <iostream> #include <cstring> #include <cmath> using namespace s 阅读全文
posted @ 2020-07-06 21:00 啊哈小张同学 阅读(89) 评论(0) 推荐(0) 编辑
摘要: #include <iostream> #include <cstring> #include <cmath> using namespace std; const int N = 100; int weights[17] = {7,9,10,5,8,4,2,1,6,3,7,9,10,5,8,4,2 阅读全文
posted @ 2020-07-06 21:00 啊哈小张同学 阅读(83) 评论(0) 推荐(0) 编辑
more_horiz
keyboard_arrow_up dark_mode palette
选择主题
点击右上角即可分享
微信分享提示