上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 42 下一页
摘要: #include<iostream> #include<cstring> using namespace std; #define maxn 105 const int dx[] = {0,1,0,-1},dy[] = {1,0,-1,0}; int data[maxn][maxn],len[max 阅读全文
posted @ 2021-11-21 15:08 智人心 阅读(135) 评论(0) 推荐(0)
摘要: #include<iostream> #include<cmath> using namespace std; int n,k; int data[10005]; bool check(int len){ int sum = 0; for(int i=0;i<n;i++){ sum += data[ 阅读全文
posted @ 2021-11-21 14:48 智人心 阅读(56) 评论(0) 推荐(0)
摘要: #include<iostream> #include<cstring> #include<cmath> using namespace std; #define maxn 105 int r,c; int data[maxn][maxn],len[maxn][maxn]; const int dx 阅读全文
posted @ 2021-11-21 13:45 智人心 阅读(36) 评论(0) 推荐(0)
摘要: #include<iostream> #include<cstring> using namespace std; #define maxn 105 int m,n,w_num,path_num; typedef struct node{ int x1,y1,x2,y2; }Wall; Wall w 阅读全文
posted @ 2021-11-20 17:44 智人心 阅读(64) 评论(0) 推荐(0)
摘要: #include<iostream> using namespace std; long long pow(long long m,int n){ long long ans = 1; while(n--){ ans *= m; } return ans; } int main(){ int i,j 阅读全文
posted @ 2021-11-20 12:49 智人心 阅读(58) 评论(0) 推荐(0)
摘要: #include<iostream> //https://www.cnblogs.com/shihuajie/archive/2013/03/25/2980709.html using namespace std; long long pow(long long x,int y){ long lon 阅读全文
posted @ 2021-11-19 22:30 智人心 阅读(51) 评论(0) 推荐(0)
摘要: #include<iostream> #include<queue> //https://blog.csdn.net/lyy289065406/article/details/6647917 using namespace std; int m[530000]; int main(){ int i, 阅读全文
posted @ 2021-11-19 21:19 智人心 阅读(35) 评论(0) 推荐(0)
摘要: #include<iostream> #include<algorithm> using namespace std; int main(){ int i,n,data[10005]; scanf("%d",&n); for(i=0;i<n;i++){ scanf("%d",&data[i]); } 阅读全文
posted @ 2021-11-19 16:54 智人心 阅读(37) 评论(0) 推荐(0)
摘要: #include<iostream> using namespace std; int main(){ int t,k,i; long long n; char a[100],out[100]; scanf("%d",&t); while(t--){ scanf("%d%s%lld",&k,a,&n 阅读全文
posted @ 2021-11-18 20:35 智人心 阅读(41) 评论(0) 推荐(0)
摘要: #include<iostream> #include<cstring> using namespace std; int main(){ long long n; char s[100],out[100]; int t,i,j,k,len; scanf("%d",&t); while(t--){ 阅读全文
posted @ 2021-11-18 20:23 智人心 阅读(47) 评论(0) 推荐(0)
上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 42 下一页