题解列表

筛选

简单的整数处理

摘要:解题思路:最值思想注意事项:数组越界问题,以及最大值为数组首位问题参考代码:#include <iostream>using namespace std;void f1(int a[10]……

高精度 阶乘和

摘要:解题思路:注意事项:参考代码:#include"bits/stdc++.h"usingnamespacestd;inta[1500],b……

基于C++,一个简单的编程实现

摘要:解题思路:熟练使用字符串应用注意事项:注意遍历时是否越界参考代码:#include <iostream>#include <string>using namespace std……

字符排列问题

摘要:注意:这里要用到 next_permutation 函数,这个函数用来求全排列 用法:next_permutation(s.begin(),s.end()) ```cpp #include #……