题解列表

筛选

1267: A+B Problem

摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){    int a,b;    cin>>a>>b;    c……

Yu:2816统计满足条件的4位数个数

摘要:#### 解题思路: 在会如何得到每一位数的情况下再思考此题。 如何得到每一位数的模板如下: ```c++ while(n){ // 当n变为0时循环结束 cout > ……

菲波那契数列

摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int f[100]={0,1};int main(){ int n; cin>>n……

极其简单,走过路过别错过

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,i,cnm=-2;\\方便后面的输出 scanf("%d",&n); int a[100000],b……