[编程入门]密码破译 摘要:解题思路:自己看注意事项:参考代码:#include <stdio.h>void encryptPassword(char* str) { int i = 0; while (str[i]…… 题解列表 2023年10月29日 0 点赞 0 评论 618 浏览 评分:9.9
水仙花数判断 摘要:解题思路:首先表示这个三位数范围在100到999之间,再表示其百位,十位及个位数字。最后验证其百位,十位及个位数字的三次方之和是否等于该数字。注意事项:三个数字的表示参考代码:#include<std…… 题解列表 2023年10月30日 0 点赞 0 评论 316 浏览 评分:9.9
求大于1小于1000的阿姆斯特朗数 摘要:解题思路:拆解数字各个位上的数字,并求出立方和注意事项:无参考代码:#include <stdio.h>#include <math.h>int main() { for (int i = 1;…… 题解列表 2023年10月30日 0 点赞 0 评论 297 浏览 评分:9.9
2543: 简单计算机器实现 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<iomanip> using namespace std; int main() { int a…… 题解列表 2023年10月30日 0 点赞 0 评论 308 浏览 评分:9.9
鸡尾酒疗法题解-浮点数运算 摘要:#### 参考代码 ``` #include int main() { int n; double x, y; scanf("%d%lf%lf", &n, &x, &y); …… 题解列表 2023年10月30日 0 点赞 0 评论 433 浏览 评分:9.9
【稳定做法】求小数的某一位-模拟列竖式 摘要:前排题解基本用浮点数运算,但是对于 $$ n \leq 10000$$ 的数据范围来说理论上都是错误的,无论是 `double` 还是 `long double` 在 $$ 10 ^ {10000}$…… 题解列表 2023年10月30日 0 点赞 0 评论 372 浏览 评分:9.9
财务管理!!!! 摘要:解题思路:注意事项:参考代码:a1=0a3=0while a1<12: a2=float(input()) a3+=a2 a1+=1a4=a3/12print("$%.2f"%a4)…… 题解列表 2023年10月30日 0 点赞 0 评论 523 浏览 评分:9.9
[编程入门]温度转换 摘要:解题思路:温度转换注意事项:参考代码:#include <stdio.h>#include<math.h>int main() { double a,c; scanf("%lf",&a);…… 题解列表 2023年10月30日 0 点赞 0 评论 1176 浏览 评分:9.9
java题解 最简单的解法 摘要:解题思路:注意事项:参考代码:public class Main { public static void main(String[] args) { System.out.pri…… 题解列表 2023年10月31日 0 点赞 0 评论 541 浏览 评分:9.9
!三个字符串的排序 摘要:#include <stdio.h>#include <string.h> int main(){ char x[100];char y[100];char z[100]; char c1[100]…… 题解列表 2023年10月31日 0 点赞 0 评论 304 浏览 评分:9.9