利用了一下math, 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ int a,i,c,d; scanf("%d",&a); c=…… 题解列表 2021年03月03日 0 点赞 0 评论 234 浏览 评分:0.0
蓝桥杯质因数2 摘要:参考代码:import java.util.Scanner; public class Main6 { /** * @param args */ public sta…… 题解列表 2021年03月03日 0 点赞 0 评论 371 浏览 评分:9.9
if、else if、else每个条件 摘要:解题思路:每个条件都列出来注意事项:参考代码#include<stdio.h>int main(){ int a,b,c; scanf("%d %d %d",&a,&b,&c); if(a<=b&&a…… 题解列表 2021年03月03日 0 点赞 0 评论 236 浏览 评分:8.0
1524: 蓝桥杯算法提高VIP-扫雷 Python3 摘要:解题思路: 同1096题Minesweeper; 给原矩阵添加一圈(padding)即可避免判断是否在边缘的问题。注意事项: 参考代码:counter = 1 while 1:…… 题解列表 2021年03月03日 0 点赞 0 评论 245 浏览 评分:0.0
1671: 小九九 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ for(int i=1;i<=9;i++){ for(int j=1;j<=i;j++) printf(…… 题解列表 2021年03月03日 0 点赞 0 评论 238 浏览 评分:0.0
1669: 求圆的面积 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ float r; scanf("%f",&r); printf("%.2f",r*r*3.14159);}…… 题解列表 2021年03月03日 0 点赞 0 评论 1166 浏览 评分:8.0
1793: 玉龙学长买雪糕 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <math.h>int main(){ int total=0,count; scanf("%d",&count);…… 题解列表 2021年03月03日 0 点赞 0 评论 247 浏览 评分:0.0
1635: 蓝桥杯算法训练VIP-整数平均值 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main() { int n,sum=0; int arr[n]; scanf("%d",&n); for(int i=0; …… 题解列表 2021年03月03日 0 点赞 0 评论 637 浏览 评分:0.0
1636: 蓝桥杯算法训练VIP-整除问题 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int min,max,factor; scanf("%d%d%d",&min,&max,&factor); …… 题解列表 2021年03月03日 0 点赞 0 评论 718 浏览 评分:0.0
1571: 蓝桥杯算法提高VIP-输出正反三角形 摘要:解题思路:注意事项:前导空格 和 间隔空格!!!!参考代码:#include <stdio.h>int main(){ int layer,space;//层数、空白数 scanf("%d%d",&l…… 题解列表 2021年03月03日 0 点赞 0 评论 243 浏览 评分:0.0