编写题解 1017: [编程入门]完数的判断 摘要:解题思路:注意事项:参考代码:import mathn = int(input())for i in range(6, n + 1, 2): factors = [1] sqrt_i = …… 题解列表 2023年05月22日 0 点赞 0 评论 767 浏览 评分:7.3
编写题解 2917: 奇数单增序列 (集合sort方法) 摘要:解题思路:注意事项:参考代码:import java.util.Arrays;import java.util.Scanner;public class Main { public static…… 题解列表 2023年05月22日 0 点赞 0 评论 368 浏览 评分:2.0
2864: 单词替换 摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class Main { public static void main(String[] args…… 题解列表 2023年05月23日 0 点赞 0 评论 466 浏览 评分:9.9
题目 1213: 幸运儿题解 摘要:参考代码:#include<iostream> using namespace std; int n; bool flag[100]; bool f(){ int num=0; …… 题解列表 2023年05月23日 0 点赞 0 评论 409 浏览 评分:0.0
题目 1216: 成绩转换题解 摘要:参考代码:#include<iostream> using namespace std; int main(){ int score; while(cin>>score){ …… 题解列表 2023年05月23日 0 点赞 0 评论 421 浏览 评分:0.0
2916: 谁考了第k名 (结构体+sort函数) 摘要:解题思路: 1.定义结构体 2.循环输入数据 3.sort排序 4.输出第k名注意事项:参考代码:#include <bits/stdc++.h> using namespace std; …… 题解列表 2023年05月23日 0 点赞 0 评论 491 浏览 评分:0.0
2917: 奇数单增序列 摘要:解题思路:注意事项:参考代码:#include <iostream> #include <algorithm> using namespace std; int main() { …… 题解列表 2023年05月23日 0 点赞 0 评论 349 浏览 评分:0.0
试除法分解质因数 摘要:解题思路:试除法分解质因数,思路来源y神注意事项:主要是格式问题,用一个list来保存所有的质因数,然后最后用join输出参考代码:def divide(x: int): if x < 2: …… 题解列表 2023年05月23日 0 点赞 0 评论 432 浏览 评分:0.0
蓝桥杯2014年第五届真题-分糖果 摘要:解题思路:注意事项:参考代码:head = int(input())n = map(int,input().strip().split())n = list(n)num = 0jurge = len(…… 题解列表 2023年05月23日 1 点赞 0 评论 387 浏览 评分:0.0
(java)小白的思路,简明易懂{91分可能都是这个原因} 摘要:解题思路:* 思路:假设k=10,数列为 1,10,11,100,101,110...... 显然数列为二进制顺序,序号与其对应的二进制值相等 因此要求某一位的值时,先将其…… 题解列表 2023年05月23日 0 点赞 0 评论 418 浏览 评分:9.9