回文数字-C语言 此题有多坑 摘要:解题思路:我没有用子函数表示一些数据,直接全部写在主函数里面的,注释都有,自己看把注意事项:参考代码:#include"stdio.h"int main(){ int i,j; int n…… 题解列表 2022年06月27日 0 点赞 0 评论 374 浏览 评分:0.0
信息学奥赛一本通T1322-拦截导弹问题-题解(各语言二分法) 摘要:题意为求最长上升子序列 方法很多,这里提供一种高效的算法 时间复杂度O(n log n),最坏空间复杂度O(n) **python** ```python from bisect impor…… 题解列表 2022年06月27日 0 点赞 0 评论 759 浏览 评分:7.1
1098陶陶摘苹果应该有很多种解法 摘要:解题思路:注意事项:也可以试试看用多分支语句参考代码:s=0app=list(map(int,input().split()))hi=int(input())for i in app: if i…… 题解列表 2022年06月28日 1 点赞 0 评论 556 浏览 评分:0.0
信息学奥赛一本通TT1262-挖地雷-题解(各语言代码) 摘要:用邻接表存图,从后往前递推 将经过节点的地雷数累加,找出最大值 **C++** ```cpp #include #include #include using namespace std…… 题解列表 2022年06月28日 0 点赞 0 评论 546 浏览 评分:3.6
来自于一个小菜鸟的(圆的面积)题解 摘要:解题思路: # 导入 math 包 import math # π (S=πr²) math.pi 题解列表 2022年06月28日 0 点赞 0 评论 637 浏览 评分:8.0
来自于一个小菜鸟的(平方和)题解 摘要:解题思路: # 导入 math 包 import math1.# math 模块 pow() 方法的语法 2. #内置的 pow() …… 题解列表 2022年06月28日 0 点赞 0 评论 574 浏览 评分:0.0
来自于一个小菜鸟的(话费计算)题解 摘要:参考代码: print('%.1f'%(int(input())*0.4+50))min = int(input())print('%.1f'%(min*0.4+50)) min = …… 题解列表 2022年06月28日 0 点赞 0 评论 431 浏览 评分:0.0
三个数字的排序 摘要:解题思路:比就完事了注意事项:参考代码:int main(){ int a, b,c; scanf("%d %d %d", &a, &b,&c); if (a > b) { …… 题解列表 2022年06月28日 0 点赞 0 评论 417 浏览 评分:0.0
来自于一个小菜鸟的(贷款计算)题解 摘要:注意事项: a = a*10000 (我认为是本金) 这里如果不存储到a中,而放到公式里的话,直接输出可能会报错公式:每月还款金额= (贷款本金/ 还款总月数)+(本金 …… 题解列表 2022年06月28日 1 点赞 0 评论 574 浏览 评分:9.9
SinzoL--题解 1093: 字符逆序 摘要:####我是新手,这里只是把让字符逆序的两种方式给罗列了一下 ###第一种:用string变量 ```cpp #include #include #include using namesp…… 题解列表 2022年06月28日 0 点赞 0 评论 671 浏览 评分:9.9