题解列表
[编程入门]密码破译
摘要:解题思路:自己看注意事项:参考代码:#include <stdio.h>void encryptPassword(char* str) { int i = 0; while (str[i]……
求大于1小于1000的阿姆斯特朗数
摘要:解题思路:拆解数字各个位上的数字,并求出立方和注意事项:无参考代码:#include <stdio.h>#include <math.h>int main() { for (int i = 1;……
2543: 简单计算机器实现
摘要:解题思路:注意事项:参考代码:#include<iostream>
#include<iomanip>
using namespace std;
int main()
{
int a……
鸡尾酒疗法题解-浮点数运算
摘要:#### 参考代码
```
#include
int main() {
int n;
double x, y;
scanf("%d%lf%lf", &n, &x, &y);
……
【稳定做法】求小数的某一位-模拟列竖式
摘要:前排题解基本用浮点数运算,但是对于 $$ n \leq 10000$$ 的数据范围来说理论上都是错误的,无论是 `double` 还是 `long double` 在 $$ 10 ^ {10000}$……
[编程入门]温度转换
摘要:解题思路:温度转换注意事项:参考代码:#include <stdio.h>#include<math.h>int main() { double a,c; scanf("%lf",&a);……
java题解 最简单的解法
摘要:解题思路:注意事项:参考代码:public class Main { public static void main(String[] args) { System.out.pri……