1000题: 循环计算a+b 摘要:自己写代码的难点: 局限于用for循环,循环加载输入数字后,无法做到循环输出对应的结果; 自己代码: #include int main() { int a,b; f…… 题解列表 2023年04月24日 0 点赞 0 评论 450 浏览 评分:0.0
坐标排序(c语言qsort函数实现) 摘要:```c #include #include typedef struct coord { int x, y, z;//坐标 }coord; void my_qsort(void*…… 题解列表 2023年04月24日 0 点赞 1 评论 600 浏览 评分:6.0
题目 1032: [编程入门]自定义函数之字符串连接 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include <string.h>int main(){ char a[520],b[520]; gets(a); …… 题解列表 2023年04月24日 0 点赞 0 评论 521 浏览 评分:9.9
快速排序练习(c语言) 摘要:```c #include #include #include void quick_sort(int* arr, int start, int end); int main() { …… 题解列表 2023年04月24日 0 点赞 0 评论 456 浏览 评分:9.9
一个循环就行 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ for(int i=1000;i<10000;i++){ int t=i%100; …… 题解列表 2023年04月24日 0 点赞 0 评论 330 浏览 评分:0.0
java验证子串(indexOf方法) 摘要:解题思路:利用indexOf方法判断一个字符串是否是另一个的子串注意事项:参考代码:package ten;import java.util.Scanner;public class 验证子串 { …… 题解列表 2023年04月24日 0 点赞 0 评论 484 浏览 评分:9.9
[编程入门]阶乘求和 摘要:解题思路:注意事项:参考代码:public class Main { public static void main(String[] args) { Scanner sc = …… 题解列表 2023年04月23日 0 点赞 0 评论 393 浏览 评分:0.0
计算分数加减表达式的值 摘要:解题思路:注意事项:参考代码:public class Main { public static void main(String[] args) { Scanner sc =…… 题解列表 2023年04月23日 0 点赞 0 评论 480 浏览 评分:0.0
编写题解 2518: 信息学奥赛一本通T1620-质因数分解 摘要:解题思路:注意事项:该代码只适用于输入的 n 是两个不同的质数的乘积的情况,如果输入的 n 是一个质数,则输出结果不正确。参考代码:import java.util.Scanner;public cl…… 题解列表 2023年04月23日 0 点赞 0 评论 404 浏览 评分:0.0
合并两个单链表 摘要:```c 解题思路: #include #include typedef struct stu{ int id; //学号 int score; //成…… 题解列表 2023年04月23日 0 点赞 0 评论 466 浏览 评分:9.9