题解 1062: 公约公倍(简单循环) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int m,n; scanf("%d %d",&m,&n); for(int i=(m<n…… 题解列表 2023年12月08日 0 点赞 0 评论 235 浏览 评分:9.9
Pell数列(Python) 摘要:解题思路:注意事项:参考代码:def pell_number(k): a, b = 1, 2 if k == 1: return 1 elif k == 2: …… 题解列表 2023年12月08日 0 点赞 0 评论 346 浏览 评分:0.0
C语言课后习题 摘要:解题思路:用m,n相互替换一下,当然你也可以只用一个n从0到9再从9到0注意事项:参考代码:#include<stdio.h>int main(){ int n,m; int arr[10…… 题解列表 2023年12月08日 0 点赞 1 评论 240 浏览 评分:9.9
计算字符串距离 摘要:解题思路:注意事项:参考代码:def edit_distance(A, B): m = len(A) n = len(B) # 初始化二维数组 dp = [[0] * (n +…… 题解列表 2023年12月08日 0 点赞 0 评论 257 浏览 评分:0.0
题解 1061: 二级C语言-计负均正 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main(){ int count=0,temp=…… 题解列表 2023年12月08日 0 点赞 0 评论 324 浏览 评分:0.0
1043: [编程入门]三个数字的排序 C语言 冒泡排序 摘要:解题思路:冒泡排序注意事项:参考代码:#define _CRT_SECURE_NO_WARNINGS#include <stdio.h>int main(void){ int a, b, c,t; s…… 题解列表 2023年12月08日 0 点赞 0 评论 237 浏览 评分:0.0
题目 1671: 小九九题解 摘要:解题思路:嵌套双循环注意事项:return 0 注意不要掉了参考代码:#includeint main(){ int i, j; for (i = 1; i < 10; i++) {…… 题解列表 2023年12月08日 0 点赞 0 评论 528 浏览 评分:9.9
]结构体之成绩记录 摘要:解题思路:注意事项:参考代码:#include<stdio.h>struct Stu{ char id[20],name[20]; int score1,score2,score3;};v…… 题解列表 2023年12月08日 0 点赞 0 评论 246 浏览 评分:0.0
c语言小白写法,用struct 摘要:解题思路:注意事项:参考代码:#include <stdio.h>typedef struct student{ int id; float score;} student;int mai…… 题解列表 2023年12月08日 0 点赞 0 评论 296 浏览 评分:0.0
陶陶摘苹果 摘要:解题思路:通过两个for循环来完成注意事项:参考代码:#include <iostream>using namespace std;int main() { int a[10]; for (int i…… 题解列表 2023年12月08日 0 点赞 0 评论 288 浏览 评分:0.0