太经典了,链表的经典操作 链表数据求和操作 摘要:解题思路:还是前面讲的链表的经典操作注意事项:链表的使用,注意删除节点参考代码:#includeusing namespace std; typedef struct ListPlural{ …… 题解列表 2024年07月29日 0 点赞 0 评论 248 浏览 评分:0.0
这个作弊也可以哟 摘要:解题思路:无注意事项:无参考代码:#include<iostream>using namespace std;int main(){ cout<<"Glmre"; return 0;}…… 题解列表 2024年07月29日 8 点赞 0 评论 1061 浏览 评分:9.9
[竞赛入门]简单的a+b(C++) 摘要:解题思路:定义a,b,输入各值,输出a+b就可以了注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a,b; …… 题解列表 2024年07月29日 0 点赞 0 评论 338 浏览 评分:0.0
[编程入门]第一个HelloWorld程序(c++) 摘要:解题思路:直接输出"**************************\nHello World!\n**************************"就好了注意事项:"\n"是换行符号参考代码…… 题解列表 2024年07月29日 2 点赞 0 评论 507 浏览 评分:10.0
第一次用pair数对 摘要:#include<bits/stdc++.h> using namespace std; pair<int,int>a[10]; int main() { int sum1=0,sum2=…… 题解列表 2024年07月29日 0 点赞 0 评论 223 浏览 评分:0.0
【欧拉筛法】哥德巴赫曾猜测 摘要:```cpp #include using namespace std; const int N = 32770; int prime[N];//存储质数 int num[N];//标注是…… 题解列表 2024年07月27日 0 点赞 0 评论 282 浏览 评分:0.0
好用的STL双端队列(1) 摘要:#include<bits/stdc++.h> using namespace std; deque<int>q; int main() { char c[1000]; c…… 题解列表 2024年07月26日 0 点赞 0 评论 194 浏览 评分:0.0
好用的STL双端队列 摘要:#include<bits/stdc++.h> using namespace std; deque<char>q; int main() { char c[100]; while(c…… 题解列表 2024年07月26日 0 点赞 0 评论 254 浏览 评分:0.0
2936: 简单算术表达式求值 摘要:```cpp #include using namespace std; int js(int a,char c,int b){ if(c=='+') cout…… 题解列表 2024年07月25日 0 点赞 0 评论 401 浏览 评分:0.0
1157: 亲和数 摘要:```cpp #include using namespace std; int qhs(int x,int y){ int a=0,b=0; for(int i=1;i…… 题解列表 2024年07月25日 0 点赞 0 评论 200 浏览 评分:0.0