有点小难,但不多(自信) 摘要:思路:代码:#include <stdio.h> int main(void) { float C,F; scanf("%f", &F); //用来输出实数,…… 题解列表 2024年04月16日 0 点赞 0 评论 501 浏览 评分:0.0
python--study||O.o 摘要:参考代码:#每个草丛只能是1个'#'或2个'#' dx = (-1, 0, 1, 0) dy = (0, -1, 0, 1) def f(x, y): …… 题解列表 2024年04月17日 0 点赞 0 评论 212 浏览 评分:0.0
辗转相除法 摘要:解题思路: 先计算最大公约数,再计算最小公倍数,然后验证是否准确注意事项: 无参考代码:#include <stdio.h>//辗转相除法int main(void){ int in…… 题解列表 2024年04月17日 0 点赞 0 评论 213 浏览 评分:0.0
【编程入门】密码破译 摘要:解题思路:破译之后的密码是在为破译的密码在ASCII的值上加4注意事项:if(a[i]=='\n')break;要注意添加这一段程序,就可以在输入回车之后,跳出遍历数组a的循环参考代码…… 题解列表 2024年04月17日 1 点赞 0 评论 480 浏览 评分:0.0
【编程入门】数字的处理和判断 摘要:解题思路:注意事项:参考代码:#include <stdio.h> #include <string.h> int main() { char a[10]; int i,we…… 题解列表 2024年04月17日 0 点赞 0 评论 406 浏览 评分:0.0
【编程入门】筛选N以内的所有素数 摘要:解题思路:注意事项:参考代码:#include <stdio.h> int main() { int i,N,j,a; scanf("%d",&N); for(i=2…… 题解列表 2024年04月17日 0 点赞 0 评论 112 浏览 评分:0.0
【编程入门】字符串分类统计 摘要:解题思路:注意事项:参考代码:#include <stdio.h> #include <string.h> int main() { char ch[200]; //字符串的定义 …… 题解列表 2024年04月17日 0 点赞 0 评论 175 浏览 评分:0.0
python--study||O.o 摘要: 就是求内部矩形的大小,主要问题是根据题意判断起点和终点参考代码:#肿瘤与边缘之间必须被0分隔开(未完全分隔就不算答案) n = int(input()) arr = [list(m…… 题解列表 2024年04月17日 0 点赞 0 评论 229 浏览 评分:0.0
1024: [编程入门]矩阵对角线求和 摘要:解题思路:注意事项:参考代码:arr = [list(map(int, input().split())) for _ in range(3)] x, y = 0, 0 for i in rang…… 题解列表 2024年04月17日 0 点赞 0 评论 288 浏览 评分:0.0
编写题解 1138: C语言训练-求矩阵的两对角线上的元素之和 摘要:解题思路:注意事项:参考代码:n = int(input()) arr = [list(map(int, input().split())) for _ in range(n)] x, y = 0…… 题解列表 2024年04月17日 0 点赞 0 评论 318 浏览 评分:0.0