题解列表

筛选

入门算法,简单易懂

摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){    double x1,x2,a,b,c,d,t;    scanf("%lf……
优质题解

【C语言】数的读法:简单的逆向思维处理方式 - DotcppXF

摘要:【解题思路】        ① 题目其实很简单,但是直接做起来很麻烦,因为各种特殊情况都需要单独加判断进行处理;        ② 正常的解题方式可将输入的数当作字符串处理,然后从高位读向低位,但我个……

实数的打印(java暴力)

摘要:解题思路:注意事项:参考代码: import java.util.Scanner; public class Main{ public static void main(Strin……

1015-求和训练

摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;typedef long long LL;LL sum(int a){ LL res=0; f……

1016-水仙花数判断 语言:C++

摘要:解题思路:注意事项:参考代码:#include<iostream>#include<cmath>using namespace std;int main(){        int a,b,c=3; ……

1017-完数的判断 语言:C++

摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){   int n;   cin >>n;   for(int i=2;i……