题解列表
密码破译[使用Python]
摘要:str1 = input()
strList = list(str1)
count = 0
chrNum = 0
while count < len(strList):
chrNum……
1523: 蓝桥杯算法提高VIP-打水问题
摘要:解题思路:注意事项:参考代码:#include<iostream>#include<algorithm>using namespace std;int n, m, a[1010], b[1010][1……
史上最强数学题解(公倍数)
摘要:解题思路:公倍数之后的全部情况都可以通过两数之差来实现,因此只需要关注公倍数之前的情况即可。公倍数可以全部用两数相加实现,在此基础上减掉另外一个数后,两数之差便无法弥补缺口。注意事项:参考代码:#in……
2580: 蓝桥杯2020年第十一届省赛真题-分类计数
摘要:解题思路:注意事项:参考代码:st=input()
A,a,d=0,0,0
for i in st:
if i.isdigit():
d+=1
if i.is……
2575: 蓝桥杯2020年第十一届省赛真题-整除序列
摘要:解题思路:注意事项:参考代码:st=int(input())
print(st,end=' ')
while st>1:
print(st//2,end=' &#……
我不理解!!为什么不对!!
摘要: #include
int main()
{
int a;
scanf("%d",&a);
int arr[1000]={0};
……
编写题解 1206: 字符串问题
摘要:解题思路:注意事项:参考代码:#include<iostream>#include<string>using namespace std;int main(){ string str; c……
个人理解,希望能提供个思路
摘要:解题思路:①输入的整数值表示,从 1970 年 1 月 1 日 00:00:00 到当前时刻经过的毫秒数。这个数一般比较大,用long long;②不显示出年月日,只需要显示出时分秒即可,需要毫秒数转……
编写题解 1210: 小明A+B
摘要:解题思路:注意事项:参考代码:#include<iostream>#include<string>using namespace std;int main(){ int a,b; ……