蓝桥杯算法提高VIP-删除数组中的0元素简单好懂 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,a[100],i,ans=0; scanf("%d",&n); for(i=0;i<n;i++) s…… 题解列表 2022年08月05日 0 点赞 0 评论 630 浏览 评分:0.0
SinzoL--题解 1676: 数据结构-链表的基本操作 ####好久没写了,今天试着写一下####我是靠自己的理解来写的,所以极有可能会出现一些时候处理得复杂了或不规范的情况我们先来定义一下所需函数:```cppvoidshow(note*a);//打印voidgetnum(note*a,intb);//获值voidmydelete(note*a, 题解列表 2022年08月05日 0 点赞 0 评论 627 浏览 评分:0.0
大佬们看看我的哪里有问题,为什么一直答案错误 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int isprime(int x){ if(x<2) return 0; if(x==2) return 1; for(int j=…… 题解列表 2022年08月06日 0 点赞 1 评论 360 浏览 评分:0.0
C# 2021: 坐标排序 ```cpp#includeusingnamespacestd;structfun{intx;inty;intz;}s[10000];boolcmp(funa,funb){if(a.x==b.x&&a.y==b.y){returna.zs[i].x>>s[i].y>>s[i].z;}sort(s, 题解列表 2022年08月06日 0 点赞 0 评论 1109 浏览 评分:0.0
1743: 大整数排序 (string数组,sort自定义) ```cpp#includeusingnamespacestd;stringnum[10005];//利用string进行大数存储intn;boolcmp(stringa,stringb)//自定义sort函数{if(a.length()==b.length())returna 题解列表 2022年08月06日 0 点赞 0 评论 742 浏览 评分:0.0 1111111111111111111111111111111111111111111 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int ch(int t){ if(t%2!=0) return 1; else r…… 题解列表 2022年08月06日 0 点赞 0 评论 621 浏览 评分:0.0 11111111111111111111111111111111111 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int n,t; cin>>n; while(n--) { …… 题解列表 2022年08月06日 0 点赞 0 评论 718 浏览 评分:0.0 1111111111111111111111111111111111111111111111111111111111111 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ string str1="(DJTU)"; char str…… 题解列表 2022年08月06日 0 点赞 0 评论 697 浏览 评分:0.0 1111111111111111111111111111111111111111111111111111111 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ set<string> v; string s; while…… 题解列表 2022年08月06日 0 点赞 0 评论 594 浏览 评分:0.0 链表的基本操作(C语言版) #include#include#include//C语言网:题目1676:数据结构-链表的基本操作typedefstructLNode{intdata;//数据域structLNode*next;//指针域}LNode,*LinkList;//定义了节点类型和链表类型//初始化单链表//LinkLi 题解列表 2022年08月06日 0 点赞 0 评论 634 浏览 评分:0.0 « 12...2187218821892190219121922193...59235924 »
1111111111111111111111111111111111111111111 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int ch(int t){ if(t%2!=0) return 1; else r…… 题解列表 2022年08月06日 0 点赞 0 评论 621 浏览 评分:0.0
11111111111111111111111111111111111 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int n,t; cin>>n; while(n--) { …… 题解列表 2022年08月06日 0 点赞 0 评论 718 浏览 评分:0.0
1111111111111111111111111111111111111111111111111111111111111 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ string str1="(DJTU)"; char str…… 题解列表 2022年08月06日 0 点赞 0 评论 697 浏览 评分:0.0
1111111111111111111111111111111111111111111111111111111 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ set<string> v; string s; while…… 题解列表 2022年08月06日 0 点赞 0 评论 594 浏览 评分:0.0
链表的基本操作(C语言版) #include#include#include//C语言网:题目1676:数据结构-链表的基本操作typedefstructLNode{intdata;//数据域structLNode*next;//指针域}LNode,*LinkList;//定义了节点类型和链表类型//初始化单链表//LinkLi 题解列表 2022年08月06日 0 点赞 0 评论 634 浏览 评分:0.0