初学者可食用,简单粗暴,让所有格子周围都有八个格子 摘要:解题思路: 在你输入的网格周围,在填充一圈格子,并且这一圈格子都是没有雷的。 遍历你输入的网格: 如果这个格子上是雷的话,遍历下一个格子。 …… 题解列表 2022年12月12日 0 点赞 0 评论 244 浏览 评分:9.9
求和训练[小白代码简单易懂][C语言方法] 摘要:解题思路: 1.定义三个基本量a,b,c 2.定义三个计合数量—————— 3.输入 4.循环 5.输出注意事项: 主要注意C中各种数据类型的混合计算模式, 题解列表 2022年12月12日 0 点赞 0 评论 233 浏览 评分:9.9
c语言函数的链式调用-实例 摘要:解题思路:注意事项:参考代码:‘#include <stdio.h> #pragma warning(disable : 4996 int gcd(int x, int y) { if…… 题解列表 2022年12月12日 0 点赞 0 评论 175 浏览 评分:0.0
python简单易懂;求指定数字相同的数的个数 摘要:解题思路:用列表遍历用if判断出有用的数据把数据放到之前设置的空变量输出注意事项:无,都是基础参考代码:n = int(input());u = 0;s = list(map(int,input().…… 题解列表 2022年12月12日 0 点赞 0 评论 497 浏览 评分:9.9
宏定义函数 摘要:参考代码 #include #define min(x,y,z) xz?y:z) int main(void) { int a,b,c,m,n…… 题解列表 2022年12月11日 0 点赞 0 评论 222 浏览 评分:9.9
数字的处理与判断-横推 摘要:参考代码如下 #include #include//用到pow()函数 int main(void) { int a, t = 0, m, n, q…… 题解列表 2022年12月11日 0 点赞 0 评论 242 浏览 评分:9.9
输出Tom数(C++) 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;const int station = 10;int main(){ …… 题解列表 2022年12月11日 0 点赞 0 评论 210 浏览 评分:0.0
循环嵌套实现DNA(C++) 摘要:解题思路:注意事项:参考代码:#includeusing namespace std;int main(){ int N, a, b, n = 1; cin >> N;…… 题解列表 2022年12月11日 0 点赞 0 评论 263 浏览 评分:0.0
牛马吃牧草 摘要:解题思路: 我不知道注意事项: 我不知道参考代码:#include<stdio.h>int main(){ int x,y; …… 题解列表 2022年12月11日 0 点赞 1 评论 2657 浏览 评分:9.0
鸡尾酒疗法C语言解法 摘要:解题思路:数组思想注意事项:参考代码:#include<stdio.h>int ans[10001];int main(){ int n,i,y1,y2; int a,b; floa…… 题解列表 2022年12月11日 0 点赞 0 评论 628 浏览 评分:6.5