题解列表

筛选

1014: [编程入门]阶乘求和

摘要:解题思路:die!注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){    long long n,sum=0;    ……

题解 2825: 计算多项式的值

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

题解 2830: 数字统计

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

1267: A+B Problem

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

C++超简单思路

摘要:解题思路:将数字问题转换成字符串问题注意事项:注意看题目要求参考代码:#include<iostream>#include<string>#include<algorithm>#include<std……

题解 2829: 数1的个数

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

2829: 数1的个数

摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){    long long a,x=0;//要付初值    ……

2830: 数字统计

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

  编写题解 1266: 马拦过河卒

摘要:解题思路:观察发现:       f(i,j)=f(i−1,j)+f(i,j−1)注意事项:        防止马的坐标出界,直接加二(单独判断也可以)参考代码:m,n,i,j=map(int,inp……