我有一只狗
我有一只狗
全部文章
题解
归档
标签
去牛客网
登录
/
注册
我有一只狗的博客
全部文章
/ 题解
(共44篇)
题解 | #计算某字符出现次数#
while True: try: exam = input().lower() alphabet = input().lower() ...
Python3
2022-06-07
0
161
题解 | #字符串最后一个单词的长度#
import sys while True: try: exam = input() arr = exam.split(" ") #将输入字符串有空...
Python3
2022-06-07
1
194
题解 | #求最小公倍数#
while True: try: x,y = map(int,input().split()) #直接将x,y转变为int类型的 n =...
Python3
2022-06-06
0
233
题解 | #字符统计#
while True: try: zifuchuan = input() list1 = sorted(set(zifuchuan)) #向将输入的...
Python3
2022-06-06
11
399
题解 | #输入整型数组和排序标识,对其元素按照升序或降序进行排序#
while True: try: n = input() list1 = list(map(int,input().split())) #要先将分隔开的字符转变...
Python3
2022-06-01
1
304
题解 | #等差数列#
#这道题 只要知道等差数列求和公式的应该可以的 while True: try: n = int(input()) d = 3  ...
Python3
2022-06-01
1
323
题解 | #自守数#
while True: try: n = int(input()) count1 = 0 for i i...
Python3
2022-06-01
2
267
题解 | #记负均正#
#小白做题 希望大佬指正 while True: try: n = int(input()) list1 = list(map(int, input()...
Python3
2022-06-01
3
353
题解 | #记票统计#
while True: try: num = int(input()) l_name = input().split()  ...
Python3
2022-05-31
1
222
题解 | #走方格的方案数#
def bushu(x,y): if x < 0 or y < 0: return 0 elif x == 0 or y == 0: ...
Python3
2022-05-30
2
262
首页
上一页
1
2
3
4
5
下一页
末页