摘要:
#include <iostream>#include <string>#include <regex>using namespace std; int main(){ //regex_match匹配整个字符串 //reg1匹配大小写字母,不能匹配空格 regex reg1("\\w+day"); 阅读全文
摘要:
题目链接:https://pintia.cn/problem-sets/994805342720868352/problems/994805447855292416 开散列的方法是我从别人博客学到的,也是第一次用,感觉挺好用的,下次遇见这样的题目就有思路了。 然后里面sync_with_stdio( 阅读全文
摘要:
题目链接:https://pintia.cn/problem-sets/994805342720868352/problems/994805451374313472 这个题目有毒,开始我的while判断是使用的相乘大于0这种判断方式,但是最后一个案例始终过不了,可能是因为越界了,但是越界的话,为什么 阅读全文
摘要:
代码如下: 阅读全文
摘要:
代码如下: 阅读全文
摘要:
代码如下: 阅读全文
摘要:
代码如下: 阅读全文
摘要:
代码如下: 阅读全文
摘要:
代码如下: 阅读全文
摘要:
代码如下: 阅读全文