编写题解 1676: 数据结构-链表的基本操作 #include#include#includetypedefstructnode{intn;structnode*next;}node;node*creat_node(){node*p=(node*)malloc(sizeof(node));if(!p)exit(0);p->next=NULL;re 题解列表 2024年06月30日 1 点赞 0 评论 602 浏览 评分:0.0
1852: 求1+2+3+...+n的值 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll;//自定义//求1+2+3+......…… 题解列表 2024年06月30日 0 点赞 0 评论 408 浏览 评分: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 评论 406 浏览 评分: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 评论 437 浏览 评分: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 评论 486 浏览 评分: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 评论 482 浏览 评分: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 评论 595 浏览 评分:0.0
1029: [编程入门]自定义函数处理素数 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll;ll prime (ll x){ …… 题解列表 2024年06月30日 0 点赞 0 评论 589 浏览 评分: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 评论 500 浏览 评分:0.0
2955: 判决素数个数 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll;ll prime (ll x)//先判断…… 题解列表 2024年06月30日 0 点赞 0 评论 428 浏览 评分:0.0