2684: 蓝桥杯2022年第十三届省赛真题-数位排序 摘要:解题思路:注意事项:参考代码:n = int(input())m = int(input())l = [i for i in range(1,n+1)]t = []for i in l: s =…… 题解列表 2024年08月12日 0 点赞 0 评论 478 浏览 评分:0.0
蓝桥杯2022年第十三届省赛真题-纸张尺寸 摘要:解题思路:注意事项:参考代码:s = input().strip()n = int(s[1])a = 1189b = 841for i in range(n): a = a//2 if a…… 题解列表 2024年08月12日 4 点赞 0 评论 653 浏览 评分:0.0
C语言训练-求素数问题:线性筛 摘要:解题思路: 欧拉筛注意事项:数组范围要大于数据范围参考代码:#include<iostream> #include<cmath> using namespace std; const int N…… 题解列表 2024年08月12日 0 点赞 0 评论 278 浏览 评分:0.0
淘淘摘苹果 摘要:解题思路:注意事项:参考代码:apple=list(map(int,input().split()))high=eval(input())high_all=high+30n=0for i in ran…… 题解列表 2024年08月12日 0 点赞 0 评论 273 浏览 评分:0.0
C语言训练-求PI* 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<algorithm> using namespace std; const int N = 1e2 + 10…… 题解列表 2024年08月12日 0 点赞 0 评论 377 浏览 评分:0.0
C语言训练-求1+2!+3!+...+N!的和 摘要:解题思路: long long注意事项:参考代码:#include<iostream> #include<algorithm> using namespace std; const int N …… 题解列表 2024年08月12日 0 点赞 0 评论 469 浏览 评分:0.0
C语言训练-尼科彻斯定理 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<cmath> using namespace std; int main() { int m; c…… 题解列表 2024年08月12日 0 点赞 0 评论 363 浏览 评分:0.0
C语言训练-字符串正反连接 摘要:解题思路:string reverse注意事项:参考代码:#include<iostream> #include<cstdio> #include<string> #include<algori…… 题解列表 2024年08月11日 1 点赞 0 评论 467 浏览 评分:0.0
C语言训练-委派任务* 摘要:解题思路:深搜递归注意事项:参考代码:#include<iostream> #include<cstdio> #include<cstring> using namespace std; co…… 题解列表 2024年08月11日 0 点赞 0 评论 396 浏览 评分:0.0
弟弟的作业(纯C++代码,不使用scanf) 摘要:解题思路:用while循环读取输入的算式,直到读取到空行,查找并记录运算符‘+’或者‘-’以及‘=’在字符串s中的位置,通过这两个位置,对字符串进行切片操作,最后进行判断。注意事项: 运用到了#inc…… 题解列表 2024年08月11日 2 点赞 0 评论 608 浏览 评分:10.0