2857: 加密的病历单 摘要:```python s = input() news = str() for c in s: if c.isupper(): news += c.lower() else: …… 题解列表 2023年05月23日 0 点赞 0 评论 442 浏览 评分:0.0
简单的函数阶乘求和 摘要:解题思路:注意事项:参考代码:n=int(input())Sn=0def multiply(n): sum=1 for i in range(1,n+1): sum*=i …… 题解列表 2023年05月23日 0 点赞 0 评论 481 浏览 评分:9.9
c语言代码解决问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char str[101], str1[1000]; gets(str); …… 题解列表 2023年05月23日 0 点赞 0 评论 398 浏览 评分:0.0
c语言代码解决问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>struct date{ int year; int month; int day;};int main(){ struct date …… 题解列表 2023年05月23日 0 点赞 0 评论 568 浏览 评分:0.0
java做法解答这题 摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class Main108 { public static void main(String[] a…… 题解列表 2023年05月23日 0 点赞 0 评论 411 浏览 评分:9.9
优质题解 二分时间+区间覆盖 摘要:解题思路:1、对时间进行二分搜索,2、对于每个判断的时间,可以每个阀门视为一个区间,判断由此得到区间组是否能够覆盖整个大区间注意事项:1、右边界需要开大一点,10的9次方不行,需要开到10的10次方2…… 题解列表 2023年05月23日 4 点赞 2 评论 2183 浏览 评分:9.7
2914: 铺地毯 摘要:解题思路:逆序查找注意事项:第一个遇到的就是最上层的参考代码:#include<iostream>using namespace std;int a[10001],b[10001],g[10001],…… 题解列表 2023年05月24日 0 点赞 0 评论 412 浏览 评分:6.0
2916: 谁考了第k名 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;long long xh[10001],temp1;int m[10001];float sc…… 题解列表 2023年05月24日 0 点赞 0 评论 508 浏览 评分:9.9
优质题解 线性dp(打家劫舍系列) 摘要:解题思路:代码前的思考:由于每一项的值都大于0,所以我们要尽可能的多选,将问题转换成:给定一个序列,要求不能选取相邻的元素,问能获得的最大价值是多少?1、分别记录每个点取或不取所形成的价值2、取的话就…… 题解列表 2023年05月24日 1 点赞 1 评论 2744 浏览 评分:9.8
1128:两行代码 摘要:解题思路:注意事项:参考代码:for x in sorted([int(x) for x in input().split()]): print(x, end=' ')…… 题解列表 2023年05月24日 0 点赞 0 评论 736 浏览 评分:0.0