题解列表
C语言训练-列出最简真分数序列*
摘要:解题思路:最大公约数为1注意事项:参考代码:#include<iostream>
#include<cmath>
using namespace std;
int gcd(int a, int ……
C语言训练-委派任务*
摘要:解题思路:深搜递归注意事项:参考代码:#include<iostream>
#include<cstdio>
#include<cstring>
using namespace std;
co……
C语言训练-字符串正反连接
摘要:解题思路:string reverse注意事项:参考代码:#include<iostream>
#include<cstdio>
#include<string>
#include<algori……
C语言训练-尼科彻斯定理
摘要:解题思路:注意事项:参考代码:#include<iostream>
#include<cmath>
using namespace std;
int main()
{
int m;
c……
C语言训练-求1+2!+3!+...+N!的和
摘要:解题思路: long long注意事项:参考代码:#include<iostream>
#include<algorithm>
using namespace std;
const int N ……
C语言训练-求PI*
摘要:解题思路:注意事项:参考代码:#include<iostream>
#include<algorithm>
using namespace std;
const int N = 1e2 + 10……
C语言训练-求素数问题:线性筛
摘要:解题思路: 欧拉筛注意事项:数组范围要大于数据范围参考代码:#include<iostream>
#include<cmath>
using namespace std;
const int N……
蓝桥杯2022年第十三届省赛真题-纸张尺寸
摘要:解题思路:注意事项:参考代码:s = input().strip()n = int(s[1])a = 1189b = 841for i in range(n): a = a//2 if a……