题解列表
蓝桥杯2020年第十一届省赛真题-分类计数
摘要:解题思路:注意事项:参考代码:s = input()A_num = 0a_num = 0dig_num = 0for i in s: if i.isalnum(): if i.is……
蓝桥杯2020年第十一届省赛真题-字符串编码(Python)
摘要:解题思路:注意事项:参考代码:s = input()ans = ''i = 0while i<len(s): if i+1>=len(s) or int(s[i])>2: ……
蓝桥杯算法提高VIP-打水问题(Python)
摘要:解题思路:注意事项:参考代码:N,M=map(int,input().split())
a=list(map(int,input().split()))
a.sort()
water=[[0 f……
1743: 大整数排序 (java的两种实现)
摘要:原题: [https://www.dotcpp.com/oj/problem1743.html](https://www.dotcpp.com/oj/problem1743.html)
- 思路……
题解 1807: [编程基础]输入输出练习之格式控制
摘要:解题思路:使用format 格式化函数注意事项:< 左对齐8d 占8位参考代码:a,b,c=map(int,input().split())print('{:<8d}{:<8d}{:<8d}&……
查字典写DNA——C语言
摘要:解题思路:根据第二个5 4数据给的案例可以看出,DNA是按照x x x x x x x循环四次最后再加上第一行;因此只要把这个形状保存后循环四次最后再输出一遍第一行就行了。注意事项:这里的x是大……
c语言不用指针和函数求解
摘要:解题思路:改题的思路是定义一个至少含姓名,学号,三科成绩的结构体。具体看代码吧。(笔者学代码不久,有什么写的不好的地方,还请谅解,欢迎大家讨论)注意事项:参考代码:#include<stdio.h>t……
信息学奥赛一本通T1602-烽火传递
摘要:数据太水,居然混过去了
```cpp
#include
#include
using namespace std;
int n, m;
int dp[200005];
int a[200……