canwen
canwen
全部文章
题解
归档
标签
去牛客网
登录
/
注册
canwen的博客
全部文章
/ 题解
(共34篇)
题解 | #牛牛的短信#
#2022/6/14 13:40 n=int(input()) lis=list(map(int,input().split())) sum1=0 sum2=0 count1=0 count2=0 for i in lis: if i>60: &nbs...
Python3
2022-06-14
0
194
题解 | #小乐乐计算函数#
#2022/6/14 10:27 a,b,c=map(int,input().split()) max1=max(a+b,b,c) max2=max(a,b+c,c) max3=max(a,b,b+c) m=max1/(max2+max3) print("{:.2f}".format(m))
Python3
2022-06-14
2
233
题解 | #登录验证#
#2022/6/13 14:23 a,b=map(str,input().split()) # print(a,b) # print(type(a)) if a=='admin' and b=='admin': print("Login Success!") else: ...
Python3
2022-06-13
0
137
题解 | #[NOIP2018]标题统计#
#2022/6/13 14:11 n=input() a=b=c=d=0 for i in n: if ord('a')<=ord(i)<=ord('z') or ord('A')<=ord(i)<=ord('Z'): ...
Python3
2022-06-13
0
172
题解 | #矩阵计算#
#2022/6/2 N,M=map(int,input().split()) lis=[] lis1=[] sum1=0 for i in range(N): val=list(map(int,input().split())) lis.app...
Python3
2022-06-02
0
167
题解 | #矩阵相等判定#
#2022/6/2 n,m=map(int,input().split()) lis=[] lis1=[] for i in range(n): val=list(map(int,input().split())) lis.append(val...
Python3
2022-06-02
0
182
题解 | #矩阵元素定位#
#2022/6/2 #二位数组求值 n,m=map(int,input().split()) val=[] for i in range(n): val1=list(map(int,input().split())) val.append(va...
Python3
2022-06-02
0
174
题解 | #班级成绩输入输出#
#一个笨方法,憋笑 n1=list(map(float,input().split())) n2=list(map(float,input().split())) n3=list(map(float,input().split())) n4=list(map(float,input().split(...
Python3
2022-06-02
2
150
题解 | #序列中整数去重#
#2022/6/1 21:14 n=int(input()) #5 n1=list(map(int,input().split()))#10 12 93 12 75 #思路一:set集合去重,但是集合无序,所以运行结果报错 # print(' '.join(str(i) for i in set(n...
Python3
2022-06-01
0
157
题解 | #序列中删除指定数字#
# 2022/6/1 #题理解错误,忽略了重复数 # n=int(input()) # n1=list(map(int,input().split())) # n2=int(input()) # if n2 in n1: # n1.remove(n2...
Python3
2022-06-01
0
166
首页
上一页
1
2
3
4
下一页
末页