07 2022 档案
摘要:丢失数据后应第一时间停止磁盘的写入,使用testdisk就能够恢复大部分文件。这次没停止写入吃了一个大亏,数据丢了大部分,需要引以为戒。 参考: https://linux.cn/article-12674-1.html https://linux.cn/article-4938-1.html
阅读全文
摘要:使用说明 submatch() 函数返回的是子表达式中的内容。 submatch(0) 返回整个匹配的字串。 submatch(1) 返回第一个匹配的字串。 submatch(2) 返回第二个匹配的字串。 注意:子表达式表示的是{pattern}中的括号内的表达式,一个双括号算一个表达式,两个双括号
阅读全文
摘要:class Solution { public: static bool mycomp(pair<string, int> a, pair<string, int> b) { return a.first < b.first; } vector<int> smallestTrimmedNumbers
阅读全文