随笔分类 -  蓝桥杯

摘要:1 #include<stdio.h> 2 int main(){ 3 int n; 4 scanf("%d",&n); 5 char a[n+1][20]; 6 int sum[n+1]; 7 for(int i=1;i<=n;i++){ 8 scanf("%s",&a[i]); 9 scanf( 阅读全文
posted @ 2022-05-08 09:04 HzzzzLi 阅读(20) 评论(0) 推荐(0) 编辑
摘要:1 #include<stdio.h> 2 int main(){ 3 int a;scanf("%1d",&a); 4 if(a==0)return 0; 5 int grade;scanf("%3d",&grade); 6 int academy[5];for(int i=1;i<=4;i++) 阅读全文
posted @ 2022-05-06 22:05 HzzzzLi 阅读(610) 评论(0) 推荐(0) 编辑
摘要:#include <stdio.h> #include <stdlib.h> int main(int argc, char *argv[]) { printf("%d",256*256*256*4); return 0; } 解析 byte就是字节 3.1byte=8bit 4.1byte就是1B 阅读全文
posted @ 2022-04-05 00:23 HzzzzLi 阅读(43) 评论(0) 推荐(0) 编辑
摘要:https://www.lanqiao.cn/problems/646/learning/ #include<bits/stdc++.h> using namespace std; int prime(int x){ int i,flag=1; for(i=2;i<=sqrt(x);i++){ if 阅读全文
posted @ 2022-03-30 23:39 HzzzzLi 阅读(36) 评论(0) 推荐(0) 编辑
摘要:https://www.lanqiao.cn/problems/553/learning/ #include<bits/stdc++.h> using namespace std; int a[105][105]; int n,m; int find_max(int x,int y){ int i, 阅读全文
posted @ 2022-03-30 22:14 HzzzzLi 阅读(58) 评论(0) 推荐(0) 编辑
摘要:https://www.lanqiao.cn/problems/592/learning/ 1 #include<cstdio> 2 int main(){ 3 int a,i=0,ans=0; 4 for(i=1;i<=2020;i++){ 5 if(i%10==2)ans++; 6 if(i/1 阅读全文
posted @ 2022-03-30 21:00 HzzzzLi 阅读(35) 评论(0) 推荐(0) 编辑
摘要:https://www.lanqiao.cn/problems/1025/learning/?contest_id=55 1 #include<bits/stdc++.h> 2 using namespace std; 3 #include<cstdio> 4 int main() 5 { int 阅读全文
posted @ 2022-03-30 00:11 HzzzzLi 阅读(54) 评论(0) 推荐(0) 编辑
摘要:https://www.lanqiao.cn/problems/545/learning/?contest_id=55 1 #include<bits/stdc++.h> 2 using namespace std; 3 #include<cstdio> 4 int main() 5 { 6 int 阅读全文
posted @ 2022-03-29 22:17 HzzzzLi 阅读(57) 评论(0) 推荐(0) 编辑
摘要:https://www.lanqiao.cn/problems/307/learning/?contest_id=55 1 #include <stdio.h> 2 #include <stdlib.h> 3 4 int main() 5 { 6 int i,j,N; 7 scanf("%d",&N 阅读全文
posted @ 2022-03-29 21:49 HzzzzLi 阅读(49) 评论(0) 推荐(0) 编辑
摘要:https://www.lanqiao.cn/problems/357/learning/?contest_id=55 1 #include <stdio.h> 2 #include <stdlib.h> 3 4 int main() 5 { 6 int i=1; 7 int sum=1,k,ans 阅读全文
posted @ 2022-03-29 21:06 HzzzzLi 阅读(8) 评论(0) 推荐(0) 编辑
摘要:https://www.lanqiao.cn/problems/736/learning/?contest_id=55 1 #include<cstdio> 2 #include<algorithm> 3 using namespace std; 4 int main(){ 5 double i=1 阅读全文
posted @ 2022-03-29 18:13 HzzzzLi 阅读(37) 评论(0) 推荐(0) 编辑
摘要:https://www.lanqiao.cn/problems/122/learning/ 1 #include<cstdio> 2 #include<algorithm> 3 using namespace std; 4 int main(){ 5 int N; 6 scanf("%d",&N); 阅读全文
posted @ 2022-03-29 17:13 HzzzzLi 阅读(20) 评论(0) 推荐(0) 编辑
摘要:https://www.lanqiao.cn/problems/160/learning/ 1 #include <stdio.h> 2 #include <stdlib.h> 3 4 int main(int argc, char *argv[]) 5 { 6 char a[101]; 7 int 阅读全文
posted @ 2022-03-29 16:28 HzzzzLi 阅读(43) 评论(0) 推荐(0) 编辑
摘要:https://www.lanqiao.cn/problems/497/learning/ 1 #include<stdio.h> 2 int main(){ 3 int n,max,min; 4 scanf("%d",&n); 5 int a[n]; 6 for(int i=0;i<n;i++){ 阅读全文
posted @ 2022-03-29 16:15 HzzzzLi 阅读(159) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示