Additionlly 博客

WELCOME TO MY DIGITAL GARDEN

How to connect everything?
Additionlly

Additionlly

Code · Algorithm · Ideas

记录思考、代码与那些把世界连接起来的瞬间。

给我留言 GitHub Codeforces CSDN Leetcode 牛客竞赛 牛客

Stay curious, keep building.

摘要: 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 我也不太明白 阅读(79) 评论(0) 推荐(0)
摘要: Problem A. 配对质数 此题事先把素数筛出来,由于从前往后可能会导致后面的数字无法配对,我们只需从后往前,把数x/2得到的两个数,即可完成配对操作 #include <iostream> #include <vector> #include <algorithm> using namespa 阅读全文
posted @ 2024-05-30 10:28 我也不太明白 阅读(285) 评论(0) 推荐(1)