摘要: #include #include #include #include #include using namespace std; char a[10005][55]; char b[1000005]; int i,ans,j,k,n,tmp; bool flag; int main() { while(scanf("%d",&n)!=EOF) { fo... 阅读全文
posted @ 2018-12-05 20:08 观稳769 阅读(137) 评论(0) 推荐(0) 编辑
摘要: 1 #include <cstdio> 2 #include <cstring> 3 #include <iostream> 4 #include <algorithm>//庆祝自己第一道01背包问题hhhhhh 5 #include <string.h> 6 using namespace std 阅读全文
posted @ 2018-11-28 20:11 观稳769 阅读(264) 评论(0) 推荐(0) 编辑
摘要: 例题都过不了 原因不详 #include<iostream>#include<cstdio>#include<algorithm>#include<cstring>#include<queue>using namespace std;int mp[55][55][55];bool vis[55][5 阅读全文
posted @ 2018-11-21 20:01 观稳769 阅读(149) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/yspworld/p/4046684.html 终于AC了 注意利用tmp。。。 #include<cstdio>#include<iostream>#include<cstring>#include<queue>using namespace std 阅读全文
posted @ 2018-11-19 20:06 观稳769 阅读(120) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/usernamezzz/article/details/79343536 参考。 #include<cstdio>#include<queue>#include<cstring>using namespace std;char a[35][35][35]; 阅读全文
posted @ 2018-11-19 19:20 观稳769 阅读(218) 评论(0) 推荐(0) 编辑
摘要: 恢复内容开始 https://www.cnblogs.com/OctoptusLian/p/7429645.html 解救小哈——dfs入门 //果然博客园质量高丫 #include<iostream>#include<cstdio>#include<queue>using namespace st 阅读全文
posted @ 2018-11-17 16:51 观稳769 阅读(89) 评论(0) 推荐(0) 编辑
摘要: 1349.快速幂入门QAQ居然多组数据QAQ我居然听到还没反应过来是这道题orz WA了六遍当时心态有点崩1356.Fibonacci1.数组开全局QAQ1.数组开全局QAQ1.数组开全局QAQ2.(a+b)%m=((a%m)+(b%m))%m2.(a+b)%m=((a%m)+(b%m))%m2.( 阅读全文
posted @ 2018-11-14 19:07 观稳769 阅读(140) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/v_JULY_v/article/details/7041827 写的挺好 看懂了 阅读全文
posted @ 2018-11-07 19:52 观稳769 阅读(87) 评论(0) 推荐(0) 编辑
摘要: 看的有点头疼QAQ 回去继续看 阅读全文
posted @ 2018-11-06 21:32 观稳769 阅读(88) 评论(0) 推荐(0) 编辑
摘要: #include <stdio.h>#include <string.h>int main(){ char a[1000],b[1000]; int an,bn,a1,b1,i; while(scanf("%s%s",&a,&b )!=EOF) { a1=0; b1=0; an = strlen(a 阅读全文
posted @ 2018-10-27 14:56 观稳769 阅读(482) 评论(0) 推荐(0) 编辑