c代码记录之回文数字 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int fun5(int m){ int i,j,k,t=0; for(i=1;i<=9;i++) …… 题解列表 2023年11月22日 0 点赞 0 评论 365 浏览 评分:0.0
大整数排序代码 摘要:#include<stdio.h> #include<math.h> #include<string.h> void swapstr(char*,char*); void swapstr(ch…… 题解列表 2023年11月22日 0 点赞 0 评论 384 浏览 评分:6.0
数组的距离 摘要:#解题思路 首先,这道题数据量不大,也不难,我们只需要从小到大排序一遍,找两个相邻的不同数组里元素的差最小的那个就行了,对于不同数组的这个条件,我们进行简单的记录一下就行,只需要遍历一次就行,没必要…… 题解列表 2023年11月21日 0 点赞 0 评论 619 浏览 评分:9.9
以数组的形式 摘要:解题思路:注意事项:参考代码:# include<stdio.h>int main(void){ int n; int array[55]; for(n=1;n<=4;n++) …… 题解列表 2023年11月21日 0 点赞 0 评论 570 浏览 评分:0.0
2753: 浮点型数据类型存储空间大小 摘要:解题思路:sizeof(........)是存储空间注意事项:sizeof是存储空间参考代码:#include <iostream>using namespace std;int main(){ …… 题解列表 2023年11月21日 0 点赞 2 评论 326 浏览 评分:9.9
题解 2830: 数字统计 摘要: #include using namespace std; int main(){ int n=0,d=0,a=0,b=0,c=0; cin>>n>…… 题解列表 2023年11月21日 0 点赞 0 评论 266 浏览 评分:0.0
题解 2830: 数字统计 摘要: #include using namespace std; int main(){ int n=0,d=0,a=0,b=0,c=0; cin>>n>…… 题解列表 2023年11月21日 0 点赞 0 评论 344 浏览 评分:0.0
2819: 数字反转 摘要:``` #include using namespace std; int main(){ int a,ans=0; cin>>a; while(a){ ans=ans*10+…… 题解列表 2023年11月21日 0 点赞 0 评论 280 浏览 评分:2.0
题解 2829: 数1的个数 摘要: #include using namespace std; int main(){ int n=0,a=0,b=0,c=0; cin>>n; …… 题解列表 2023年11月21日 0 点赞 0 评论 316 浏览 评分:9.9
2825: 计算多项式的值 摘要:``` #include using namespace std; int main(){ double n,x,sum=1,num; cin>>x>>n; num=x; for…… 题解列表 2023年11月21日 0 点赞 0 评论 350 浏览 评分:6.0