【Python题解】蓝桥杯2013年第四届真题-带分数 摘要:解题思路:思路是参照另一位佬,对代码进行了注释和部分修改。从整数->分母->分子,逐个进行判断,具体见代码。参考代码:n = int(input()) # L = ['1', …… 题解列表 2023年02月23日 0 点赞 0 评论 481 浏览 评分:9.9
2857: 加密的病历单(python) 摘要:解题思路:注意事项:参考代码:s = input() s1 = "" for i in s: if (i >= 'x' and i <= 'z') or …… 题解列表 2023年02月23日 0 点赞 0 评论 457 浏览 评分:9.9
1049: [编程入门]结构体之时间设计 摘要:```cpp #include using namespace std; struct Date { int year,mouth,day; }; int IsLeapY…… 题解列表 2023年02月24日 0 点赞 1 评论 1323 浏览 评分:9.9
1050: [编程入门]结构体之成绩记录 摘要:```cpp #include using namespace std; struct Student { string num,name; int Math,Engl…… 题解列表 2023年02月24日 0 点赞 1 评论 293 浏览 评分:9.9
2858: 整理药名(python) 摘要:解题思路:注意事项:参考代码:n = int(input()) while True: try: s = input() s1 = "" for i in s: …… 题解列表 2023年02月24日 0 点赞 0 评论 506 浏览 评分:9.9
2861: 验证子串(python) 摘要:解题思路:注意事项:参考代码:a = input().strip() # 注意把前导空格去掉 b = input().strip() if a in b: print("%s is s…… 题解列表 2023年02月24日 0 点赞 0 评论 495 浏览 评分:9.9
题解 3007: 收费 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ double n = 0; double feiyong = 0; scanf("%lf\n", &n); if…… 题解列表 2023年02月24日 0 点赞 0 评论 413 浏览 评分:9.9
3128: 连接格点(grid) 摘要:```cpp #include using namespace std; const int N=1e6+10; int n,m,p[N]; int findth(int x) { …… 题解列表 2023年02月24日 0 点赞 0 评论 526 浏览 评分:9.9
2544: N以内累加求和 摘要:```cpp #include using namespace std; int main() { int n; cin>>n; cout…… 题解列表 2023年02月24日 0 点赞 0 评论 504 浏览 评分:9.9