分享一下我的错误,以及,详细解释我的代码这么写的原因 摘要:解题思路:首先,题目的要求是持续输入,其次,我们需要分离百分位,十分位,个位数,进行重新组合【这里方法真的很多】注意事项:1.要能持续输入输出; 2.输入100,要能输出001; 3.注意输出方式和占…… 题解列表 2024年10月26日 0 点赞 0 评论 260 浏览 评分:0.0
利润计算c语言求解 摘要:解题思路:利用递归思想参考代码:#include <stdio.h> int func(int n); int main() { int n, result; scan…… 题解列表 2024年10月26日 12 点赞 1 评论 1327 浏览 评分:10.0
判断是否为两位数之入门 摘要:解题思路:注意事项:参考代码:while True: try: n=int(input()) print("1") if 0.1<= n/100 <1 else pr…… 题解列表 2024年10月26日 0 点赞 0 评论 569 浏览 评分:9.9
数字的处理与判断c语言题解 摘要:解题思路:这题可以分成三个用户自定义函数来实现3个功能注意事项:这是个人想法,没有看题解参考代码:#include <stdio.h> int Num(int sum); void separat…… 题解列表 2024年10月26日 1 点赞 0 评论 237 浏览 评分:9.9
数字的处理与判断python解 摘要:sd = input() print(len(sd)) print(' '.join(sd), end='') print("\n"+sd[::-1])注意事项:…… 题解列表 2024年10月26日 1 点赞 0 评论 315 浏览 评分:9.9
2838: 有趣的跳跃 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ long long n; int t=0,j,i,k=1; …… 题解列表 2024年10月26日 0 点赞 0 评论 219 浏览 评分:0.0
2773计算线段长度 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ double xa, ya, xb, yb; scanf("%lf %lf\n%…… 题解列表 2024年10月26日 0 点赞 0 评论 236 浏览 评分:9.9
题解 1040: [编程入门]实数的打印 摘要:解题思路: 可以直接三个打印注意事项:实数用"6.2f"格式输出参考代码:#include<stdio.h> int main() { float a; scanf("…… 题解列表 2024年10月25日 1 点赞 0 评论 281 浏览 评分:0.0
浮点型储存空间 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ float a; double b; printf ("%d %d",sizeof(a),si…… 题解列表 2024年10月25日 0 点赞 0 评论 300 浏览 评分:0.0
合并石子 区间dp模板 摘要: #include using namespace std; const int N=110; int f[N][N]={0}; int s[N]={0…… 题解列表 2024年10月25日 1 点赞 0 评论 246 浏览 评分:9.9