l = input().split(' ')
n, k = int(l[0]), int(l[1])
n_list = [int(i) for i in input().split(' ')]
p_list = [int(i) for i in list(input())]
for ind, i i
展开全文
n, k = map(int, input().split())
n_list = list(map(int, input().split()))
p_list = list(input().strip()) # 确保p_list长度正确
# 处理价格(转成分,优惠逻辑修正)
for i in
展开全文
n, k = map(int,input().split())
a = list(map(int,input().split()))
s = input()
aa = sorted([a[i]*0.95 if s[i]=='1' else a[i] for i in range(n)])#折扣后的升
展开全文