题解列表

筛选

冒泡法排序

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a[3]; int i,j;……

简单编码(字典)

摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>usingnamespacestd;intmain(){ ……

简单的事情(模拟)

摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>usingnamespacestd;longlongfa……

筛排处理(set)

摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>usingnamespacestd;constintN&……

第几天(模拟)

摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>usingnamespacestd;intmain(){ ……

神奇的fans(模拟)

摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>usingnamespacestd;constintN&……

破解简单密码

摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>usingnamespacestd;intmain(){ ……

使用二维数组求解

摘要:解题思路:定义一个3乘3的二维数组,然后理清楚每个数的坐标,分别计算两条对角线上的数之和注意事项:注意数组下标从0开始参考代码:#include<bits/stdc++.h>using n……

for循环嵌套求解

摘要:解题思路:根据素数的要求依次从2~N逐个进行判断注意事项:准确写出各个变量之间的关系参考代码:/*原始版#include<bits/stdc++.h>using namespace std……