2917: 奇数单增序列 摘要:解题思路:注意事项:参考代码:#include <iostream> #include <algorithm> using namespace std; int main() { …… 题解列表 2023年05月23日 0 点赞 0 评论 259 浏览 评分:0.0
试除法分解质因数 摘要:解题思路:试除法分解质因数,思路来源y神注意事项:主要是格式问题,用一个list来保存所有的质因数,然后最后用join输出参考代码:def divide(x: int): if x < 2: …… 题解列表 2023年05月23日 0 点赞 0 评论 362 浏览 评分:0.0
蓝桥杯2014年第五届真题-分糖果 摘要:解题思路:注意事项:参考代码:head = int(input())n = map(int,input().strip().split())n = list(n)num = 0jurge = len(…… 题解列表 2023年05月23日 1 点赞 0 评论 338 浏览 评分:0.0
(java)小白的思路,简明易懂{91分可能都是这个原因} 摘要:解题思路:* 思路:假设k=10,数列为 1,10,11,100,101,110...... 显然数列为二进制顺序,序号与其对应的二进制值相等 因此要求某一位的值时,先将其…… 题解列表 2023年05月23日 0 点赞 0 评论 358 浏览 评分:9.9
2857: 加密的病历单 摘要:```python s = input() news = str() for c in s: if c.isupper(): news += c.lower() else: …… 题解列表 2023年05月23日 0 点赞 0 评论 378 浏览 评分: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 评论 410 浏览 评分:9.9
c语言代码解决问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char str[101], str1[1000]; gets(str); …… 题解列表 2023年05月23日 0 点赞 0 评论 338 浏览 评分:0.0
c语言代码解决问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>struct date{ int year; int month; int day;};int main(){ struct date …… 题解列表 2023年05月23日 0 点赞 0 评论 492 浏览 评分:0.0
java做法解答这题 摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class Main108 { public static void main(String[] a…… 题解列表 2023年05月23日 0 点赞 0 评论 348 浏览 评分:9.9
优质题解 二分时间+区间覆盖 摘要:解题思路:1、对时间进行二分搜索,2、对于每个判断的时间,可以每个阀门视为一个区间,判断由此得到区间组是否能够覆盖整个大区间注意事项:1、右边界需要开大一点,10的9次方不行,需要开到10的10次方2…… 题解列表 2023年05月23日 3 点赞 2 评论 2015 浏览 评分:9.7