SinzoL--题解 1096: Minesweeper 摘要:####先翻译一下:给出N×M大小的一个字符数组,每个单元由"*"或"."组成,"*"代表地雷,你要做的就是计算每个不是雷的单元周围有几个雷,并按示例输出 ###下面是代码: ```cpp #i…… 题解列表 2022年06月29日 0 点赞 0 评论 368 浏览 评分:0.0
仅供参考,不用辗转相除法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int max(int m,int n);int min(int m,int n);int main(){ int a,b,d,x…… 题解列表 2022年06月29日 0 点赞 0 评论 342 浏览 评分:0.0
SinzoL--题解 1093: 字符逆序 摘要:####我是新手,这里只是把让字符逆序的两种方式给罗列了一下 ###第一种:用string变量 ```cpp #include #include #include using namesp…… 题解列表 2022年06月28日 0 点赞 0 评论 618 浏览 评分:9.9
来自于一个小菜鸟的(贷款计算)题解 摘要:注意事项: a = a*10000 (我认为是本金) 这里如果不存储到a中,而放到公式里的话,直接输出可能会报错公式:每月还款金额= (贷款本金/ 还款总月数)+(本金 …… 题解列表 2022年06月28日 1 点赞 0 评论 521 浏览 评分:9.9
三个数字的排序 摘要:解题思路:比就完事了注意事项:参考代码:int main(){ int a, b,c; scanf("%d %d %d", &a, &b,&c); if (a > b) { …… 题解列表 2022年06月28日 0 点赞 0 评论 350 浏览 评分:0.0
来自于一个小菜鸟的(话费计算)题解 摘要:参考代码: print('%.1f'%(int(input())*0.4+50))min = int(input())print('%.1f'%(min*0.4+50)) min = …… 题解列表 2022年06月28日 0 点赞 0 评论 360 浏览 评分:0.0
来自于一个小菜鸟的(平方和)题解 摘要:解题思路: # 导入 math 包 import math1.# math 模块 pow() 方法的语法 2. #内置的 pow() …… 题解列表 2022年06月28日 0 点赞 0 评论 500 浏览 评分:0.0
来自于一个小菜鸟的(圆的面积)题解 摘要:解题思路: # 导入 math 包 import math # π (S=πr²) math.pi 题解列表 2022年06月28日 0 点赞 0 评论 572 浏览 评分:8.0
信息学奥赛一本通TT1262-挖地雷-题解(各语言代码) 摘要:用邻接表存图,从后往前递推 将经过节点的地雷数累加,找出最大值 **C++** ```cpp #include #include #include using namespace std…… 题解列表 2022年06月28日 0 点赞 0 评论 480 浏览 评分:3.6
1098陶陶摘苹果应该有很多种解法 摘要:解题思路:注意事项:也可以试试看用多分支语句参考代码:s=0app=list(map(int,input().split()))hi=int(input())for i in app: if i…… 题解列表 2022年06月28日 1 点赞 0 评论 493 浏览 评分:0.0