题解 1009: [编程入门]数字的处理与判断 摘要:此文章用来保存自己的初始代码参考代码:这是简单法,待学习数组之后会重新进行编辑#include<stdio.h> #include<math.h> int main() { int num;…… 题解列表 2022年11月02日 0 点赞 0 评论 145 浏览 评分:0.0
1009一行解(Python) 摘要:解题思路:注意事项:lambda N是定义一个匿名函数,lambda 函数名:expression(表达式)等价于 def 函数名(参数): 函数体 return 返回值不追求简短不必刻意使用lamb…… 题解列表 2022年11月04日 0 点赞 0 评论 148 浏览 评分:0.0
1009: [编程入门]数字的处理与判断(入门新手) 摘要:#include<stdio.h>int main(){ int a,b,c,d,e,f,t; scanf("%d",&a); b=a/10000; c=a/1000%10; d=a/100%10; …… 题解列表 2022年11月04日 0 点赞 0 评论 145 浏览 评分:0.0
数字的处理与判断(常规版) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main() { long a,i=0,j,k,m,n,x; scanf("%d",…… 题解列表 2022年11月06日 0 点赞 0 评论 233 浏览 评分:0.0
最原始的求 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ int a,b,c,d,e,n; scanf("%d",&n); int res…… 题解列表 2022年11月07日 0 点赞 0 评论 150 浏览 评分:0.0
1009: [编程入门]数字的处理与判断 摘要:解题思路:由于本人是一个新手,可能想的会有点复杂。我一开始的想法是:定义一个整形变量x并取值,并进行一系列运算,但是试验了多次后,发现很明显不行,因为一旦对x进行运算,x原有的值便会改变,无法进行下一…… 题解列表 2022年11月20日 0 点赞 0 评论 146 浏览 评分:0.0
编写题解 1009: [编程入门]数字的处理与判断 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b,c,d,e,i,num,result; scanf("%d",&i); if(i>=0 &…… 题解列表 2022年11月21日 0 点赞 0 评论 137 浏览 评分:0.0
编写题解 1009: [编程入门]数字的处理与判断 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b,c,d,e,i,num,result; scanf("%d",&i); if(i>=0 &…… 题解列表 2022年11月21日 0 点赞 0 评论 130 浏览 评分:0.0
编写题解 1009: [编程入门]数字的处理与判断(弱智版讲解) 摘要:解题思路:利用数组来储存对应的数字之后遍历输出注意事项:注意数组遍历的是角标,角标对应的数字才能输出参考代码:#include<stdio.h>int main(){ int j,i=0 ,a; in…… 题解列表 2022年12月04日 0 点赞 0 评论 175 浏览 评分:0.0
简单易懂的解决方法 摘要:解题思路:注意事项:参考代码:#include "stdio.h"#include "math.h"int main(){ int a,b,i,c,d,e; //位数 scanf("%d",&a);…… 题解列表 2022年12月14日 0 点赞 0 评论 160 浏览 评分:0.0