摘要: Excel can sort records according to any column. Now you are supposed to imitate this function. Input Specification: Each input file contains one test 阅读全文
posted @ 2020-01-28 22:00 SteveYu 阅读(166) 评论(0) 推荐(0) 编辑
摘要: To prepare for PAT, the judge sometimes has to generate random passwords for the users. The problem is that there are always some confusing passwords 阅读全文
posted @ 2020-01-28 21:41 SteveYu 阅读(220) 评论(0) 推荐(0) 编辑
摘要: People in Mars represent the colors in their computers in a similar way as the Earth people. That is, a color is represented by a 6-digit number, wher 阅读全文
posted @ 2020-01-28 21:14 SteveYu 阅读(121) 评论(0) 推荐(0) 编辑
摘要: KMP算法 在字符串匹配中,我们一般是BF算法,暴力破解。当然上完数据结构课之后,我们知道可以通过KMP进行优化。 上数据结构这门课的时候,我没有好好听KMP,本篇文章参考程杰老师的《大话数据结构》中KMP算法一章节记录的笔记,可以的话请阅读原书中该章节,这里相当于原书的复述。 这边引用书中的一句话 阅读全文
posted @ 2020-01-28 20:30 SteveYu 阅读(157) 评论(0) 推荐(0) 编辑
摘要: Given a collection of number segments, you are supposed to recover the smallest number from them. For example, given { 32, 321, 3214, 0229, 87 }, we c 阅读全文
posted @ 2020-01-28 17:32 SteveYu 阅读(129) 评论(0) 推荐(0) 编辑
摘要: XCode + IOS + Flutter真机调试 报错: Could not build the precompiled application for the device. It appears that your application still contains the default 阅读全文
posted @ 2020-01-28 00:24 SteveYu 阅读(4714) 评论(1) 推荐(0) 编辑