题解列表

筛选

分糖果分糖果分糖果

摘要:解题思路:注意事项:if (a[1]!= a[i])-->a[1]比较参考代码:#include<iostream>#include<stdio.h>using namespace std;int m……

幸运数(C++)代码

摘要:解题思路:这道题直接模拟题意即可。注意事项:参考代码:#include <iostream> using namespace std; int m, n; int arr[10000000]; ……

集合union(c++)

摘要:解题思路:实际上就是链表的基本操作注意事项:参考代码:#include<iostream>using namespace std;typedef struct number { int data; s……

数列排序:堆栈

摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){    int n;    int a[10];    sta……