题解列表
2680: 蓝桥杯2022年第十三届省赛真题-纸张尺寸
摘要:解题思路:注意事项:#include <stdio.h>#include <stdlib.h>int main(){ int n; &nb……
最大质因数(两种题型)
摘要:1.原题目的题解:```cpp#includeusing namespace std;// 计算一个数的最大质因数int maxPrimeFactor(int x) { ……
[NOIP 2009 提高组] 最优贸易-spfa反图
摘要:## spfa反图转化为最短路问题:先求出:从1开始到n的买入水晶球的最低价格 dmin[i];再求从:n到1的卖出水晶球的最高价格 dmax[i];然后枚举每个城市作为买卖的中间……
C语言训练-求具有abcd=(ab+cd)2性质的四位数
摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<stdbool.h>#include<math.h>bool ss(int a){……
C语言训练-百钱百鸡问题
摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main() { int g,m,x;  ……