2888: 图像模糊处理 摘要:``` #include using namespace std; const int N=1000; double a[N][N],b[N][N]; int c[N][N]; int m…… 题解列表 2023年12月16日 0 点赞 0 评论 252 浏览 评分:0.0
整数奇偶排序(c语言) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int swap(int* a,int* b){ int temp=*a; *a=*b; *b=temp;}i…… 题解列表 2023年12月16日 0 点赞 0 评论 372 浏览 评分:9.9
使用滑动窗口来解决 摘要:解题思路:注意事项:参考代码:n = int(input()) a = input().split() s = [] ans = 0 # 初始化收集的雪花数量 l, r = 0, 0 # …… 题解列表 2023年12月16日 0 点赞 0 评论 271 浏览 评分:9.9
2919: 奖学金 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;struct student{ int xh,zf,a,b,c;} s[1000…… 题解列表 2023年12月16日 0 点赞 0 评论 338 浏览 评分:0.0
数组逆序重放 摘要:解题思路:用两个数组注意事项:首项的下标加尾项的下标等于n+1参考代码:#include<stdio.h>int main(){ int n; scanf("%d",&n); int a[n],…… 题解列表 2023年12月16日 0 点赞 0 评论 1026 浏览 评分:0.0
优质题解 编写题解 1115: DNA--C语言使用二维数组输出图案详细讲解 摘要:`解题思路:` - 使用嵌套循环遍历每个测试用例。 - 在每个测试用例中,使用两层循环分别控制图案的行和列。 - 判断当前位置是否应该打印 `X` 或空格,根据条件确定输出。 `示…… 题解列表 2023年12月16日 165 点赞 0 评论 3056 浏览 评分:9.0
编写题解 1046: [编程入门]自定义函数之数字后移 摘要:解题思路:注意事项:参考代码:#include <stdio.h> void worker(int n){ int i,a[n+1],j=0; for(i=0;i<=n;i++)scanf(…… 题解列表 2023年12月16日 0 点赞 0 评论 985 浏览 评分:7.3
编写题解 1015: [编程入门]求和训练 摘要:解题思路:yyyyyy注意事项:yyyyyy参考代码:#include<stdio.h>int main(void){ int An = 0, Bn = 0; float Cn = 0; …… 题解列表 2023年12月16日 0 点赞 0 评论 274 浏览 评分:9.9
编写题解 1096: Minesweeper--C语言二维数组模拟地雷详解 摘要:`解题思路:` - 使用二维字符数组存储地雷信息,`*`表示有地雷,`.`表示安全。 - 确定了行列数后,声明两个二位数组(分别用于存储地雷信息和地雷数量),且在原来的行列数上增加两行两列,…… 题解列表 2023年12月16日 0 点赞 0 评论 539 浏览 评分:9.9
题解 1952: 求长方形周长和面积 摘要:解题思路: 注意事项: 注意换行符参考代码:#include<stdio.h>int main(){//定义边长,宽,周长,面积的变量(正整数int) int length,width,AAs…… 题解列表 2023年12月16日 0 点赞 0 评论 253 浏览 评分:0.0