题解列表

筛选

for轮询输入输出

摘要:解题思路:先使用for循环输入数据,再反向输出注意事项:注意数组元素下标和循环控制条件参考代码:#include<bits/stdc++.h>using namespace std;int……

素数回文(欧拉筛)

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

简单编码(字典)

摘要:解题思路:注意事项:参考代码:#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……