摘要: 题目 In this term, Alice took nn courses. Now, she has finished all final exams, and she will get her grades in the following nn days. On the i-th day, 阅读全文
posted @ 2020-12-27 01:07 墨墨墨小白iiy💭💡🎈 阅读(130) 评论(0) 推荐(0) 编辑
摘要: 题目 a 题意 给出n个不同的数,如果这n个数有四个异或起来等于0,就是YES,如果一组都没有就是NO。 思路 考虑 a ^ b = c , 每次把两两异或后的值记录为1,如果有一个数记录了2次,即有两组数异或起来相等,由于这n个数都是不同的数,所以不可能存在ab=c && ad=c 的情况,所以必 阅读全文
posted @ 2020-12-27 01:06 墨墨墨小白iiy💭💡🎈 阅读(143) 评论(0) 推荐(0) 编辑
摘要: 2020 is a special integer, it's formed of two same integers (20 and 20). We call a number is a good number, if and only if it can be formed of two sam 阅读全文
posted @ 2020-12-27 01:04 墨墨墨小白iiy💭💡🎈 阅读(293) 评论(0) 推荐(0) 编辑
摘要: 题目 As a world-famous traveler, Prof. Pang's research interest is to travel as many places as possible in his life. We have a segment {[0, n]}[0,n]. Th 阅读全文
posted @ 2020-12-27 01:03 墨墨墨小白iiy💭💡🎈 阅读(355) 评论(1) 推荐(0) 编辑
摘要: 题目 Your git project (you don't need to be familiar with git to solve this problem) has some files that should be ignored from synchronizing. You need 阅读全文
posted @ 2020-12-27 01:02 墨墨墨小白iiy💭💡🎈 阅读(194) 评论(0) 推荐(0) 编辑
摘要: 题目 A mine-sweeper map X can be expressed as an n\times mn×m grid. Each cell of the grid is either a mine cell or a non-mine cell. A mine cell has no n 阅读全文
posted @ 2020-12-27 01:01 墨墨墨小白iiy💭💡🎈 阅读(177) 评论(0) 推荐(0) 编辑
摘要: 题目 In mathematics, the Fibonacci numbers, commonly denoted as f_nf n ​ , is a sequence such that each number is the sum of the two preceding numbers, 阅读全文
posted @ 2020-12-27 01:00 墨墨墨小白iiy💭💡🎈 阅读(178) 评论(0) 推荐(0) 编辑