题解列表

筛选

题解1096:Minesweeper

摘要:# 1096: Minesweeper ## 知识点 ### 知识点1:无限循环输入,知道输入两个0的时候结束 我这里使用的方法是,用`times`变量进行计数,使用`for`循环。……

通俗易懂C++

摘要:#include<iostream> using namespace std; // 因为n最大不超过30,足够用 char a[150][150]; void hua(int m,int t……

明明的随机数--C/C++两版

摘要:解题思路:                肯定是先排序再去重了!!!先使用快速排序法或者冒泡排序法进行排序,排序没有什么难度,如果不懂排序的可以看看我之前写的排序法(带模板的啊)。          ……

1169: 绝对值排序

摘要:```cpp #include #include #define INT_MAX 2147483647 using namespace std; int main() { int……

1170: 能量项链

摘要:```cpp #include #include using namespace std; const int M=205; int a[M][M],b[M]; int main() {……

1168: 简单计算

摘要:```cpp #include #include using namespace std; int n; double a[3000],c[3000]; int main() { ……

1167: 矩阵(c++代码)

摘要:```cpp #include using namespace std; int n,mp[8][8],tmp[8][8],mx=-99999,mi=99999; void fun(),inp……

1165: 明明的随机数

摘要:```cpp #include using namespace std; int main() { int a,s1[100],s2[100],s=0,x=1,j; cin……

1164: 数组的距离

摘要:```cpp #include #include using namespace std; struct number { int value,flag; }; int mai……