题解列表

筛选

1174: 计算直线的交点数

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

2846: 统计数字字符个数

摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;const int N=1e5;char a[N];int main(){    ……

解 2846: 统计数字字符

摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;char a[1005];int main(){ int sum=0; cin.g……

2950: 素数回文数的个数

摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll;ll prime (ll x){    ……

1178三进制小数

摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int fenzi; int fenmu; double sum; w……

1177三角形(经典的树塔问题)

摘要:解题思路:从下往上寻找最大值,可以说是递推的入门题注意事项:参考代码:#include<iostream>using namespace std;int main(){ int T; cin >> T……