2916: 谁考了第k名 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;long long xh[10001],temp1;int m[10001];float sc…… 题解列表 2023年05月24日 0 点赞 0 评论 463 浏览 评分:9.9
2914: 铺地毯 摘要:解题思路:逆序查找注意事项:第一个遇到的就是最上层的参考代码:#include<iostream>using namespace std;int a[10001],b[10001],g[10001],…… 题解列表 2023年05月24日 0 点赞 0 评论 366 浏览 评分:6.0
优质题解 二分时间+区间覆盖 摘要:解题思路:1、对时间进行二分搜索,2、对于每个判断的时间,可以每个阀门视为一个区间,判断由此得到区间组是否能够覆盖整个大区间注意事项:1、右边界需要开大一点,10的9次方不行,需要开到10的10次方2…… 题解列表 2023年05月23日 3 点赞 2 评论 2050 浏览 评分:9.7
java做法解答这题 摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class Main108 { public static void main(String[] a…… 题解列表 2023年05月23日 0 点赞 0 评论 362 浏览 评分:9.9
c语言代码解决问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>struct date{ int year; int month; int day;};int main(){ struct date …… 题解列表 2023年05月23日 0 点赞 0 评论 509 浏览 评分:0.0
c语言代码解决问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char str[101], str1[1000]; gets(str); …… 题解列表 2023年05月23日 0 点赞 0 评论 352 浏览 评分: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 评论 420 浏览 评分:9.9
2857: 加密的病历单 摘要:```python s = input() news = str() for c in s: if c.isupper(): news += c.lower() else: …… 题解列表 2023年05月23日 0 点赞 0 评论 391 浏览 评分:0.0
(java)小白的思路,简明易懂{91分可能都是这个原因} 摘要:解题思路:* 思路:假设k=10,数列为 1,10,11,100,101,110...... 显然数列为二进制顺序,序号与其对应的二进制值相等 因此要求某一位的值时,先将其…… 题解列表 2023年05月23日 0 点赞 0 评论 371 浏览 评分:9.9
蓝桥杯2014年第五届真题-分糖果 摘要:解题思路:注意事项:参考代码:head = int(input())n = map(int,input().strip().split())n = list(n)num = 0jurge = len(…… 题解列表 2023年05月23日 1 点赞 0 评论 351 浏览 评分:0.0