3022: 流感传染一眼丁真 摘要:解题思路: 遍历数组s在哪有@,有就在另一个数组上标记为1;数组s遍历完后,遍历数组a,在有标记的位置对应数组s[ i ][ j ],后判断是s[ i ][ j ]四个方向是否能被感染;…… 题解列表 2024年11月20日 1 点赞 0 评论 211 浏览 评分:0.0
最普通的解题方法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i,b=0,c=0,d=0,e=0; char a[201]; gets(a); …… 题解列表 2024年11月20日 1 点赞 0 评论 744 浏览 评分:9.0
最普通的解题方法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ char a[150]; char b[51]; gets(a); gets(b); …… 题解列表 2024年11月20日 1 点赞 0 评论 429 浏览 评分:0.0
题目 3150: 蓝桥杯2023年第十四届省赛真题-冶炼金属 摘要: #include <bits/stdc++.h> #define int long long #define debuga(v, i) cout << #v << "[" << i << "]…… 题解列表 2024年11月20日 0 点赞 0 评论 272 浏览 评分:0.0
3033: 放苹果 摘要:解题思路:注意事项:参考代码:#include"bits/stdc++.h" using namespace std; // 全局变量声明,用于存储测试用例数量和两个整数m和n int t, n…… 题解列表 2024年11月20日 1 点赞 0 评论 337 浏览 评分:10.0
二级C语言-计负均正 摘要:#includeusing namespace std; int main() { int a[110]; for(int i=1;i>a[i]; double ans…… 题解列表 2024年11月20日 0 点赞 0 评论 316 浏览 评分:9.9
3022: 流感传染 呜呜呜呜呜呜呜呜呜呜 摘要:解题思路:注意事项:参考代码:#include"bits/stdc++.h" using namespace std; int main(){ // 定义变量n和m,以及sum用于计数 …… 题解列表 2024年11月20日 0 点赞 0 评论 233 浏览 评分:0.0
数组插入处理 摘要:#includeusing namespace std; int main() { int a[10]; for(int i=0;i>a[i]; int x,m;…… 题解列表 2024年11月21日 1 点赞 0 评论 432 浏览 评分:9.9
放心饮用,可以当作以后的模板 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main() { int a,sum=0; scanf("%d",&a); for(int i=2;i*i<=a;i++){ …… 题解列表 2024年11月21日 0 点赞 0 评论 175 浏览 评分:9.9
格式化输出用printf #2609: 蓝桥杯2021年第十二届省赛真题-时间显示 摘要:``` #define _CRT_SECURE_NO_WARNINGS 1 #include #include #include #include #include #include …… 题解列表 2024年11月21日 0 点赞 0 评论 186 浏览 评分:0.0