1017-完数的判断 摘要:解题思路:简单的for循环即可实现此功能。注意事项:参考代码:void test01(int n){ int i; int j; int sum; int arr[100]; if…… 题解列表 2023年06月21日 0 点赞 0 评论 456 浏览 评分:0.0
2943-Vigenère密码 摘要:解题思路:寻找规律注意事项:参考代码:void test(char *s1,char *s2,int m,int n){ static char s[1001]; int i; for(i…… 题解列表 2023年06月22日 0 点赞 0 评论 498 浏览 评分:0.0
2845: 求10000以内n的阶乘 摘要:解题思路:采用高精度算法解决问题注意事项:参考代码:void test(int n){ //采用高精度算法实现 int arr[1000000]={0}; int i,j; int l…… 题解列表 2023年06月22日 0 点赞 0 评论 534 浏览 评分:0.0
[编程入门]阶乘求和 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(void){ int n; long long Sn = 0, j; scanf("%d…… 题解列表 2023年06月22日 0 点赞 0 评论 374 浏览 评分:0.0
[编程入门]最大公约数与最小公倍数 摘要:解题思路:注意事项:参考代码:#include <stdio.h> int main() { int m, n; scanf("%d %d", &m, &n); int gcd =…… 题解列表 2023年06月22日 0 点赞 0 评论 407 浏览 评分:0.0
2864:-单词替换 摘要:解题思路:采用最传统的思想即可,先分割单词,再查找替换单词。注意事项:参考代码:struct Test{ char s[101]; }; void test(char *s,char *a…… 题解列表 2023年06月22日 0 点赞 0 评论 506 浏览 评分:0.0
2981- 二进制分类 摘要:解题思路:注意事项:参考代码://定义全局变量 int num1=0; int num2=0; //分别A类数和B类数 void test02(int arr[],int len){ …… 题解列表 2023年06月22日 0 点赞 0 评论 361 浏览 评分:0.0
2979-确定进制 摘要:解题思路:全部转变为十进制数注意事项:参考代码:int test(int m,int n){ int sum=0; int i=0; while(m){ sum += (m%10)*…… 题解列表 2023年06月22日 0 点赞 0 评论 423 浏览 评分:0.0
选择排序----- 摘要:解题思路:1.定义数组2.输入数据并判断输入了的元素个数3.调用选择排序函数注意事项:元素最多输入十个参考代码:…… 题解列表 2023年06月22日 0 点赞 0 评论 413 浏览 评分:0.0
c语言代码解决问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a[20][20], n, i, j, sum[40] = {0}, k = 0,l=0; …… 题解列表 2023年06月23日 0 点赞 0 评论 482 浏览 评分:0.0