题解列表

筛选

1021: [编程入门]迭代法求平方根

摘要:解题思路:首先要输入一个值,这道题是运用迭代法来进行计算,有3个未知数,x(n+1),x(n),a可以自己用m,n来表示不断变化的x(n+1),x(n)这是迭代需要用到循环,可以先计算一次,再运用wh……

1181: 不容易系列2

摘要:解题思路:两种方法 :一种用数学组合,一种用递归注意事项:参考代码:数学方法:def f(x):     s=1      for i in range(1,x):         s *=i ……

编写题解 1182: 人民币问题

摘要:解题思路:注意事项:参考代码:n=int(input()) a=((n-3)//5) b=((n-6)//2) s=0 for i in range(1,a+1):     for j in……

1000:简单的a+b

摘要:解题思路:简单的a+b注意事项:注意多项输入参考代码:#include<stdio.h>int main(){    int a,b;    while(~scanf("%d%d", &a, &b))……

打字练习c++

摘要:解题思路:记得换行注意事项:记得换行参考代码:#include<stdio.h>#include<iostream>using namespace std;int main (){    cout<<……

省份证号升级

摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <iostream>#include <string.h>using namespace std;int main(……