题解列表
python简单易懂
摘要:解题思路:注意事项:参考代码:while True: try: n = int(input()) if n!=0: c = n%10 ……
亲密数(c++,数组存储因子和,简单易懂,巧妙避免超时)
摘要:解题思路:注意事项:参考代码#include<iostream>
using namespace std;
int main()
{
int a[30010],sum=0; ……
求最大公约数和最小公倍数
摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int m, n,min=1,max=1,i; cin >……
C语言自定义函数处理最大公约数与最小公倍数
摘要:解题思路:注意事项:参考代码:#include<stdio.h>
int max_gys(int a,int b)
{
return (a%b==0)?b:max_gys(b,a%b……
[编程入门]求和训练
摘要:解题思路:注意事项:参考代码:#include<iostream>#include<cmath>#include<iomanip>using namespace std;int main(){ ……
[编程入门]水仙花数判断
摘要:解题思路:注意事项:参考代码:#include<iostream>#include<cmath>using namespace std;int main(){ int i,a,b,c; f……
[编程入门]完数的判断
摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int N,i,j,sum=0,flag=0; cin >……