摘要: A. Strange Splitting We know the range of a non-empty array is the maximum value minus the minimum value. the range of the red elements does not equal 阅读全文
posted @ 2024-06-25 20:45 倔驴你真棒 阅读(3) 评论(0) 推荐(0) 编辑
摘要: Problem A. 配对质数 此题事先把素数筛出来,由于从前往后可能会导致后面的数字无法配对,a56爆大奖在线娱乐们只需从后往前,把数x/2得到的两个数,即可完成配对操作 #include <iostream> #include <vector> #include <algorithm> using namespa 阅读全文
posted @ 2024-05-30 10:28 倔驴你真棒 阅读(43) 评论(0) 推荐(0) 编辑