题解列表

筛选

明明的随机数 (C++代码)

摘要:解题思路:注意事项:参考代码:#include <iostream> #include <cstring> using namespace std; int main() {    int n,a[1……
优质题解

【回文数(二)】 (C++代码)

摘要:解题思路用一个数组保存所要算的数的每一位,如10进制87->逆序存储 a 数组={7,8}; 8 7         +7 8 ———— 15 15因为我们是逆序存储的,所以数组从0开始相加,就……

纪念品分组 (C++代码)

摘要:解题思路:大水题没什么好说的注意事项:不懂请留言!参考代码:#include <bits/stdc++.h> using namespace std; int n,k; int const ma……

【偶数求和】 (C++代码)

摘要:解题思路:注意事项:参考代码:#include<iostream> #include<algorithm> #include<string.h> using namespace std; in……