1852: 求1+2+3+...+n的值 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll;//自定义//求1+2+3+......…… 题解列表 2024年06月30日 0 点赞 0 评论 406 浏览 评分:0.0
题解 1852: 求1+2+3+...+n的值 ```cpp#includeusingnamespacestd;typedeflonglongll;constintN=1e7+5;llman(llx){llsum=0;for(inti=1;i>n;cout 题解列表 2024年06月30日 0 点赞 0 评论 405 浏览 评分:0.0
2247: 蓝桥杯算法提高-输出三个整数的最大数 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll;ll myMax (ll x,ll y,…… 题解列表 2024年06月30日 0 点赞 0 评论 432 浏览 评分:0.0
题解 1029: [编程入门]自定义函数处理素数 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int sushu(int n){ int g; for(int i=2;i<=s…… 题解列表 2024年06月30日 0 点赞 0 评论 484 浏览 评分:0.0
2936: 简单算术表达式求值 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll;ll jiafa (ll x,ll y,…… 题解列表 2024年06月30日 0 点赞 0 评论 480 浏览 评分:0.0
2936: 简单算术表达式求值 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll;ll jiafa (ll x,ll y,…… 题解列表 2024年06月30日 0 点赞 0 评论 590 浏览 评分:0.0
1029: [编程入门]自定义函数处理素数 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll;ll prime (ll x){ …… 题解列表 2024年06月30日 0 点赞 0 评论 586 浏览 评分:0.0
2955: 判决素数个数2955: 判决素数个数2955: 判决素数个数2955: 判决素数个数2955: 判决素数个数 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;long long n,m,b,sum=0;int pdsushu(int x){…… 题解列表 2024年06月30日 0 点赞 0 评论 496 浏览 评分:0.0
2955: 判决素数个数 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll;ll prime (ll x)//先判断…… 题解列表 2024年06月30日 0 点赞 0 评论 422 浏览 评分:0.0
2803: 整数的个数 摘要:解题思路:注意事项:别忘给sum赋值参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int k,sum1=0,sum5=0…… 题解列表 2024年06月30日 0 点赞 0 评论 367 浏览 评分:0.0