题解列表

筛选

编写题解 1670: 拆分位数

摘要:解题思路:注意事项:参考代码:#include <stdio.h> #include <string.h> //定义头文件 int main() {      int i,j,k,l;    ……

编写题解 1671: 小九九

摘要:解题思路:注意事项:参考代码:#include <stdio.h> #include <string.h> //定义头文件 int main() {   int i, j;   for (i ……

2913: 整数去重

摘要:```cpp #include using namespace std; int main() { int n,a[20001],j=1; cin>>n; for(int i=1;……

2909: 直方图

摘要:```cpp #include #include using namespace std; int main() { int fmax,maxs=0,a[10001],b[10001];……

2903: 不高兴的津津

摘要:```cpp #include #include using namespace std; int main() { int day,arr1[8],arr2[8]; m……

蓝桥杯基础练习VIP-2n皇后问题(Python语言)

摘要:解题思路:先放置黑皇后,黑皇后放置完毕后,在黑皇后已占位的基础上开始放置白皇后,一个回合实际上既包括放置黑皇后也包括放置白皇后,待黑白皇后都放置完毕后,再恢复现场,进入下一轮参考代码:from col……