编写题解 1017: [编程入门]完数的判断 摘要:解题思路:注意事项:参考代码:// [编程入门]完数的判断 #include<stdio.h> int fun(int n); void func(int x); int main() { …… 题解列表 2023年01月01日 0 点赞 0 评论 279 浏览 评分:9.9
编写题解 2830: 数字统计 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main(){ int n,x,i,count=0,t; scanf("%d %d",&x,&n); …… 题解列表 2023年01月01日 0 点赞 0 评论 384 浏览 评分:9.9
[编程入门]自定义函数之整数处理--定位数组最小值和最大值(c语言) 摘要:解题思路:用循环找到数组里的最小值和最大值,然后进行交换。参考代码:#include <stdio.h> void input(int* a){ for(int i=0;i<10;i+…… 题解列表 2023年01月01日 0 点赞 0 评论 294 浏览 评分:9.9
[编程入门]自定义函数之数字后移-题解 (一眼看懂) -c语言代码 摘要:解题思路:a[10] = {1,2,3,4,5,6,7,8,9,10};b[10];通过输入的m判断需要移动几位数字用10-m找到需要移动的数字,然后存入b数组b[10] = {9,10};再把a[0…… 题解列表 2023年01月01日 0 点赞 0 评论 291 浏览 评分:9.9
c语言超简单解答 摘要:解题思路:注意事项:参考代码:int a=1,b=4,c=100,d; scanf("%d%d%d",&a,&b,&c); d=a+(b-a)*(c-1); printf("%d",d); …… 题解列表 2023年01月01日 0 点赞 0 评论 707 浏览 评分:9.9
[编程入门]结构体之时间设计--傻瓜式写法(c语言) 摘要:解题思路:注意事项:参考代码:#include <stdio.h> struct date{ int year; int month; int day; }; in…… 题解列表 2023年01月01日 0 点赞 0 评论 250 浏览 评分:9.9
用两个变量解决等差数列求和 摘要:解题思路:用两个变量来解决等差数列求和的问题注意事项:注意两个变量之间的关系参考代码:#include<stdio.h>int main(){ int n,i,sum1=2,sum2=0; …… 题解列表 2023年01月01日 0 点赞 0 评论 348 浏览 评分:9.9
1200: 回文串 摘要:```cpp #include #include using namespace std; int main() { char ch[255]; bool falg=tr…… 题解列表 2023年01月01日 0 点赞 0 评论 696 浏览 评分:9.9
1201: 回文数(一) 摘要:```cpp #include #include using namespace std; bool is_huiwen(int n) { char a[100]; bo…… 题解列表 2023年01月01日 0 点赞 0 评论 561 浏览 评分:9.9
1202: 多输入输出练习1 摘要:```cpp #include using namespace std; int main() { int x,max; while(cin>>x) { …… 题解列表 2023年01月01日 0 点赞 0 评论 484 浏览 评分:9.9