编写题解 1669: 求圆的面积 摘要:解题思路:导入math库,进行求面积之后,注意输出小数点后两位注意事项:导入math库参考代码:import matha = float(input())p = math.pis = a*a*ppri…… 题解列表 2022年06月16日 0 点赞 0 评论 1054 浏览 评分:9.9
题解 1909: 蓝桥杯算法提高VIP-拿糖果-python 摘要:解题思路:动态规划注意事项:注意超时!参考代码:import mathdef zys(n,zs): #计算质因数 res =[] d = math.sqrt(n) for i in…… 题解列表 2022年06月16日 0 点赞 0 评论 420 浏览 评分:9.9
时间复杂度很低 摘要:解题思路:先转换成从0到y-x,这样固定了从13加15*n的数,然后计数x,求和输出。注意事项:参考代码:#include <stdio.h>#include <stdlib.h>/* run thi…… 题解列表 2022年06月16日 0 点赞 0 评论 381 浏览 评分:9.9
题解 2657: 蓝桥杯2022年第十三届省赛真题-修剪灌木 摘要:参考代码:#include <bits/stdc++.h> using namespace std; int main() { int N; cin >> N; for (in…… 题解列表 2022年06月17日 0 点赞 0 评论 773 浏览 评分:9.9
Treeset去重和排序 摘要:解题思路: 注意事项: 参考代码: import java.util.Arrays; import java.util.Scanner; import java.util.TreeS…… 题解列表 2022年06月17日 0 点赞 0 评论 548 浏览 评分:9.9
1139: C语言训练-求素数问题 摘要:解题思路:一一枚举,再判断是否是质数。注意事项:注意有用#include<cmath>!!!参考代码:#include<iostream> #include<cmath> using namesp…… 题解列表 2022年06月18日 0 点赞 0 评论 348 浏览 评分:9.9
1145: C语言训练-自由落体问题 摘要:解题思路:使用循环第一次单独算!后面每次算两个!注意事项:参考代码:#include<iostream> #include<iomanip> using namespace std; int m…… 题解列表 2022年06月18日 0 点赞 0 评论 350 浏览 评分:9.9
A+B for Input-Output Practice (VI) 摘要:解题思路:利用数组注意事项:审好题是关键;参考代码:#include<bits/stdc++.h>using namespace std; int main(){ int n; while(cin…… 题解列表 2022年06月18日 0 点赞 0 评论 363 浏览 评分:9.9
不是说两个空格吗,两个空格过不了,只需要一个 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int main(){ int arr[10]; for (int i = 0;…… 题解列表 2022年06月19日 0 点赞 0 评论 474 浏览 评分:9.9
C++语言训练-求s=a+aa+aaa+aaaa+aa...a的值 摘要:解题思路:利用等比数列的性质;注意事项:审好题目参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int a,n; c…… 题解列表 2022年06月19日 0 点赞 0 评论 440 浏览 评分:9.9