题解列表

筛选

c++--study||O.o

摘要:参考代码:#include<bits/stdc++.h>usingnamespacestd;usingll=long……

c++--study||O.o

摘要:参考代码:#include<bits/stdc++.h>usingnamespacestd;usingll=long……

python--study||O.o

摘要:参考代码:a,b,m=map(int,input().split())print(pow(a,b,m))……

c++--study||O.o 全排列枚举

摘要:解题思路:数据量最多只有10,考虑复杂度为阶乘的全排列模拟参考代码:#include<bits/stdc++.h>usingnamespacestd;&nb……

3331 - LQ图形

摘要:解题思路:注意到,参考代码:#include<stdio.h>intmain(){ intw,h,v,i,j; scanf("……

3325 - 2025图形

摘要:解题思路:计算余数参考代码:#include<stdio.h>intmain(){ inth,w,i,j; chara[]=……

蓝桥杯2025年第十六届省赛真题-甘蔗

摘要:#### 解题思路:1. **理解问题与输入数据**:小蓝有 n 根甘蔗,每根甘蔗的高度为 `a[i]`。他希望通过砍掉一些甘蔗或调整其高度,使得任意两根相邻甘蔗的高度差都在集合 `B` 中,且砍……