题目 1216: 成绩转换题解 摘要:参考代码:#include<iostream> using namespace std; int main(){ int score; while(cin>>score){ …… 题解列表 2023年05月23日 0 点赞 0 评论 147 浏览 评分:0.0
2916: 谁考了第k名 (结构体+sort函数) 摘要:解题思路: 1.定义结构体 2.循环输入数据 3.sort排序 4.输出第k名注意事项:参考代码:#include <bits/stdc++.h> using namespace std; …… 题解列表 2023年05月23日 0 点赞 0 评论 199 浏览 评分:0.0
2917: 奇数单增序列 摘要:解题思路:注意事项:参考代码:#include <iostream> #include <algorithm> using namespace std; int main() { …… 题解列表 2023年05月23日 0 点赞 0 评论 134 浏览 评分:0.0
试除法分解质因数 摘要:解题思路:试除法分解质因数,思路来源y神注意事项:主要是格式问题,用一个list来保存所有的质因数,然后最后用join输出参考代码:def divide(x: int): if x < 2: …… 题解列表 2023年05月23日 0 点赞 0 评论 189 浏览 评分:0.0
蓝桥杯2014年第五届真题-分糖果 摘要:解题思路:注意事项:参考代码:head = int(input())n = map(int,input().strip().split())n = list(n)num = 0jurge = len(…… 题解列表 2023年05月23日 1 点赞 0 评论 195 浏览 评分:0.0
2857: 加密的病历单 摘要:```python s = input() news = str() for c in s: if c.isupper(): news += c.lower() else: …… 题解列表 2023年05月23日 0 点赞 0 评论 237 浏览 评分:0.0
c语言代码解决问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char str[101], str1[1000]; gets(str); …… 题解列表 2023年05月23日 0 点赞 0 评论 190 浏览 评分:0.0
c语言代码解决问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>struct date{ int year; int month; int day;};int main(){ struct date …… 题解列表 2023年05月23日 0 点赞 0 评论 303 浏览 评分:0.0
1128:两行代码 摘要:解题思路:注意事项:参考代码:for x in sorted([int(x) for x in input().split()]): print(x, end=' ')…… 题解列表 2023年05月24日 0 点赞 0 评论 458 浏览 评分:0.0
1129:两行代码 摘要:解题思路:注意事项:参考代码:for x in sorted(map(int, input().split()), reverse=True): print(x, end=' …… 题解列表 2023年05月24日 0 点赞 0 评论 392 浏览 评分:0.0