题解列表
[编程入门]自定义函数处理素数
摘要:解题思路:直接判断是否为素数注意事项:sqrt!参考代码:#include<bits/stdc++.h>using namespace std;int n;int main(){ scanf("……
编写题解 1562: 蓝桥杯算法提高VIP-计算时间
摘要:解题思路:注意事项:参考代码:#include <iostream>
#include <stdio.h>
using namespace std;
int main()
{
……
1102: 明明的随机数
摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h> using namespace std;int n,a[1005],t,s;int main() { cin>>n; fo……
1100: 采药-动态规划
摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;long long n,m,a[10000],b[10000],f[1005]; i……
1075: 台球碰撞
摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>#define pi 3.1415 using namespace std;int L, W,x, y, R,a, v, s……
1074: 数字整除
摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;const int maxn=100+20;char s[maxn];int mai……