1009: [编程入门]数字的处理与判断 摘要:参考代码:#include <stdio.h> #include <string.h> //C语言字符串头文件,strlen() 函数包含在此内 int main() …… 题解列表 2021年12月05日 0 点赞 0 评论 391 浏览 评分:0.0
来自欧亚的天才刘磊 摘要:解题思路:这都能不懂了?注意事项:带上你的脑子,和一颗专注且想要求知的心来吧参考代码:int t,n,k=0; scanf("%d",&n); t=n; int i; for(i=0;i<5;i++)…… 题解列表 2021年12月01日 0 点赞 1 评论 586 浏览 评分:9.9
暴力求解法 摘要:解题思路: 把题目分割成为三个问题,先求位数,再求每个权位上的数,然后正序带空格输出,逆序输出,暴力简单。注意事项:注意求解每个权位上的数通用公式是:每个权位上的数=该数/位数%10;参考代码:…… 题解列表 2021年11月28日 0 点赞 0 评论 537 浏览 评分:9.9
数字处理判断基础解法 摘要:解题思路:咱不就是不知道位数吗,哪咱开套,无限套,当然,这是个取巧的办法! 分离每一位数字是数学问题,这里还能利用循环进行分离每一位数字注意事项:这种方法并不是一个好方法,如果数据增大处理会异常…… 题解列表 2021年11月27日 0 点赞 0 评论 371 浏览 评分:0.0
数字的处理与判断 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<algorithm>using namespace std;int main(){ int a,c=0,d=0; i…… 题解列表 2021年11月21日 0 点赞 0 评论 627 浏览 评分:8.9
数组储存各数字单元 摘要:解题思路:先求出输入数字的位数,然后用数组储存每一位数字,最后输出数组。注意事项:参考代码:#include<stdio.h>int main(){ int n,a,count=0; in…… 题解列表 2021年11月21日 0 点赞 0 评论 772 浏览 评分:0.0
1009,好懂的方法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ int a,b,c,d,e,f,g; scanf("%d",&a);…… 题解列表 2021年11月12日 0 点赞 0 评论 409 浏览 评分:0.0
简单易懂的写法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int x,a,b,c,d,e; scanf("%d",&x); a=x%10; b=x/10%10; c=x/…… 题解列表 2021年11月10日 0 点赞 0 评论 314 浏览 评分:0.0
数字的处理与判断 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>main(){ int a,i,n,k,t; n=0; scanf("%d",&a); t=a;…… 题解列表 2021年11月08日 0 点赞 0 评论 331 浏览 评分:0.0
[编程入门]数字的处理与判断---利用for循环详解---(C语言) 摘要:```c #include int main() { int a,n,s; int i=0,t=0,n1; scanf("%d",&a);//12345 n=a;//…… 题解列表 2021年11月07日 0 点赞 0 评论 555 浏览 评分:9.9