搜素
瞌睡的鱼
这个作者很懒,什么都没留下…
展开
-
洛谷P2404自然数的拆分问题(深搜)
#include<bits/stdc++.h> using namespace std; inline int read()//快读 { int x=0,t=1;char ch=getchar(); while((ch<'0'||ch>'9')&&ch!='-') ch=getchar(); if(ch=='-'){t=-1;ch=getchar();} while(ch<='9'&&ch>='0'){x=x*10+ch-48;.原创 2021-03-22 19:43:48 · 179 阅读 · 0 评论 -
洛谷P1451求细胞数量(深搜)
#include<bits/stdc++.h> using namespace std; inline int read()//快读 { int x=0,t=1;char ch=getchar(); while((ch<'0'||ch>'9')&&ch!='-') ch=getchar(); if(ch=='-'){t=-1;ch=getchar();} while(ch<='9'&&ch>='0'){x=x*10+ch-48;c.原创 2021-03-23 20:36:31 · 191 阅读 · 0 评论 -
洛谷P1451求细胞数量(广搜)
#include<bits/stdc++.h> using namespace std; inline int read()//快读 { int x=0,t=1;char ch=getchar(); while((ch<'0'||ch>'9')&&ch!='-') ch=getchar(); if(ch=='-'){t=-1;ch=getchar();} while(ch<='9'&&ch>='0'){x=x*10+ch-48;c.原创 2021-03-23 23:51:01 · 198 阅读 · 0 评论 -
洛谷P1101单词方阵(深搜)
#include<bits/stdc++.h> using namespace std; inline int read()//快读 { int x=0,t=1;char ch=getchar(); while((ch<'0'||ch>'9')&&ch!='-') ch=getchar(); if(ch=='-'){t=-1;ch=getchar();} while(ch>='0'&&ch<='9'){x=x*10+ch-48;.原创 2021-03-24 23:56:13 · 77 阅读 · 0 评论