题解列表

筛选

完数的判断

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

水仙花数判断

摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){    int g,s,b;    for(int i=100;i<10……

求和训练(C++)

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

阶乘求和(C++解决办法)

摘要:解题思路:注意事项:第一种:数值溢出的情况,第二:循环递归的思路参考代码:#include<iostream>using namespace std;int main(){    int n;    ……

分离整数的各个数位

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){    int a;    int t;    scanf("%d",&a);    while(a>0){   ……

字符串分类统计的Python解法

摘要:解题思路:注意事项:参考代码:s=input()a,b,c,d=0,0,0,0for i in s:    if i.isdigit():        a+=1    elif i.isalpha(……

冶炼金属 20行代码

摘要:解题思路:注意max和min+1就OK注意事项:参考代码:#includeusing namespace std;int main(){  int a,b,x,y,n;    cin>>n;  int……