题解列表

筛选

编写题解 1224: 整除的尾数

摘要:解题思路:注意事项:参考代码:while True:     a,b=map(int,input().split())     if a==0 and b==0:         break ……

编写题解 1223: 敲七游戏

摘要:解题思路:注意事项:参考代码:n=int(input()) s=0 for i in range(7,n+1):     if i%7==0 or '7' in str(i): ……

很简单的思路啦其实

摘要:![在这里插入图片描述](https://img-blog.csdnimg.cn/8b34d7db0f6d4147933af77a96f4886a.png?x-oss-process=image/wa……

Hello,world!

摘要:```python m = [int(i) for i in input().split()] n = [int(i) for i in input().split()] s = "" for……

周期计算距离

摘要:```python m, n = map(int, input().split()) s = 0 for i in range(1, n + 1): s += m + m / 2 #……

不是最简单的,但肯定是最容易理解的

摘要:解题思路:一个双重for循环就行了,第一行有特殊规律,先定义好第一行就行了,其余行列位置都其等于右上角的数减1。注意事项:注意循环顺序,要使该位置用右上角的数,而不能使用其左下角的数参考代码:whil……