题解列表
11111111111111111111111111111111111111111111111111111111111111111111
摘要:解题思路:注意事项:参考代码:int n,a[10001]; int sum=0; scanf("%d",&n); for(int i=0;i<n;i++) scanf("%d",&a[i]); fo……
蓝桥杯算法提高VIP-删除数组中的0元素简单好懂
摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,a[100],i,ans=0; scanf("%d",&n); for(i=0;i<n;i++) s……
SinzoL--题解 1676: 数据结构-链表的基本操作
摘要:####好久没写了,今天试着写一下
####我是靠自己的理解来写的,所以极有可能会出现一些时候处理得复杂了或不规范的情况
我们先来定义一下所需函数:
```cpp
void show(note……
大佬们看看我的哪里有问题,为什么一直答案错误
摘要:解题思路:注意事项:参考代码:#include<stdio.h>int isprime(int x){ if(x<2) return 0; if(x==2) return 1; for(int j=……
C# 2021: 坐标排序
摘要:```cpp
#include
using namespace std;
struct fun
{
int x;
int y;
int z;
}s[10000]……
1743: 大整数排序 (string数组,sort自定义)
摘要:```cpp
#include
using namespace std;
string num[10005];//利用string进行大数存储
int n;
bool cmp(string ……
1111111111111111111111111111111111111111111
摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int ch(int t){ if(t%2!=0) return 1; else r……
11111111111111111111111111111111111
摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int n,t; cin>>n; while(n--) { ……