feat: add luogu questions

This commit is contained in:
2023-10-03 17:51:53 +08:00
parent c9fbb1e74a
commit 261c0e95b9
9 changed files with 230 additions and 0 deletions

7
luogu/p1046.py Normal file
View File

@@ -0,0 +1,7 @@
a0,a1,a2,a3,a4,a5,a6,a7,a8,a9=map(int,input().split())
h=input()
num=0
for i in [a0,a1,a2,a3,a4,a5,a6,a7,a8,a9]:
if ((int(i)) <= (int(h)+30)):
num+=1
print(num)