90.0% ≤ sim ≤ 100%64_2_PCG_06: 64_2_06_List
19 clusters, 48 submissions: cluster #1(8)
# 6430184321: 1539000 2022-02-24 08:15:25 sim = 100% ABC = input() XYZ = [] total = 0 while ABC != "q": XYZ.append(ABC.split()) ABC = input() for want in input().split(): for e in XYZ: if want == e[0]: total += float(e[1]) break print("total payment", total) | # 6430229021: 1538808 2022-02-24 08:13:10 sim = 100% me = input() mel = [] total = 0 while me != "q": mel.append(me.split()) me = input() for want in input().split(): for e in mel: if want == e[0]: total += float(e[1]) break print("total payment", total) | # 6430300821: 1538881 2022-02-24 08:14:13 sim = 100% x = input() xs = [] y = 0 while x != "q": xs.append(x.split()) x = input() for total in input().split(): for e in xs: if total == e[0]: y += float(e[1]) break print('total payment', y) | # 6430314621: 1538934 2022-02-24 08:14:50 sim = 100% f1 = input() f2 = [] total = 0 while f1 != "q": f2.append(f1.split()) f1 = input() for want in input().split(): for e in f2: if want == e[0]: total += float(e[1]) break print("total payment", total) | # 6430334121: 1539045 2022-02-24 08:15:50 sim = 100% list_1 = input() x = [] total = 0 while list_1 != "q": x.append(list_1.split()) list_1 = input() for i in input().split(): for e in x: if i == e[0]: total += float(e[1]) break print("total payment", total) | # 6430336421: 1539120 2022-02-24 08:16:58 sim = 100% x = input() y = [] total = 0 while x != "q": y.append(x.split()) x = input() for buy in input().split(): for i in y: if buy == i[0]: total += float(i[1]) break print("total payment", total) | # 6430345021: 1539093 2022-02-24 08:16:21 sim = 100% frt = input() scd = [] total = 0 while frt != "q": scd.append(frt.split()) frt = input() for want in input().split(): for e in scd: if want == e[0]: total += float(e[1]) break print("total payment", total) | # 6430313021: 1538502 2022-02-24 08:07:28 sim = 93% Data, Store, Sum = input(), [], 0 while Data != "q": Store.append(Data.split()) Data = input() for want in input().split(): for e in Store: if want == e[0]: Sum += float(e[1]) break print("total payment", Sum) |
: cluster #2(2)
# 6430254621: 1538754 2022-02-24 08:12:24 sim = 100% a = [] b = input() while b != 'q': c = b.split() a.append(c) b = input() want = input().split() total = 0 for i in range(len(want)): for j in range(len(a)): if want[i] in a[j] : total += float(a[j][1]) print('total payment',total) | # 6432164121: 1539049 2022-02-24 08:15:52 sim = 100% a = [] ; n = input() while n != 'q': b = n.split() a.append(b) n = input() buy = input().split() pay = 0 for i in range(len(buy)): for j in range(len(a)): if buy[i] in a[j] : pay += float(a[j][1]) print('total payment',pay) |
: cluster #3(2)
# 6430269021: 1538443 2022-02-24 08:06:01 sim = 100% x = input() goods = [] price = [] while x != "q" : t = x.split() goods.append(t[0]) price.append(float(t[1])) x = input() need = input().split() summ = 0 for i in range(len(need)) : if need[i] in goods : j = goods.index(need[i]) summ += price[j] print("total payment", summ) | # 6430429121: 1538729 2022-02-24 08:12:00 sim = 100% e = input() name = [] price = [] while e != 'q': w = e.split() name.append(w[0]) price.append(float(w[1])) e = input() buy = input().split() total = 0 for i in range(len(buy)): if buy[i] in name: ind = name.index(buy[i]) total += price[ind] print('total payment', total) |
: cluster #4(2)
# 6430395421: 1538913 2022-02-24 08:14:33 sim = 100% y = input().split() d =[] while y != ['q']: d.append(y) y = input().split() list_ = input().split() tc = 0 for i in list_: for ii in range(len(d)): if i == d[ii][0]: tc += float(d[ii][1]) print('total payment',tc) | # 6432031321: 1538538 2022-02-24 08:08:30 sim = 100% x = input().split() y = [] while x != ['q']: y.append(x) x = input().split() name = input().split() c = 0 for i in name: for e in range(len(y)): if i == y[e][0]: c += float(y[e][1]) print('total payment',c) |
: cluster #5(2)
# 6432042221: 1538953 2022-02-24 08:15:03 sim = 100% lis_nam = [] lis_pri = [] inp = input().split() while inp[0] != 'q': lis_nam +=[inp[0]] lis_pri +=[inp[1]] inp = input().split() inp = input().split() sum=0 for j in inp: k = 0 for l in range(len(lis_nam)): if lis_nam[l] == j: k = l break sum += float(lis_pri[k]) print('total payment',sum) | # 6432048021: 1538761 2022-02-24 08:12:29 sim = 100% lis_nam = [] lis_pri = [] inp = input().split() while inp[0] != 'q': lis_nam +=[inp[0]] lis_pri +=[inp[1]] inp = input().split() inp = input().split() sum=0 for j in inp: k = 0 for l in range(len(lis_nam)): if lis_nam[l] == j: k = l break sum += float(lis_pri[k]) print('total payment',sum) |
: cluster #6(2)
# 6430192321: 1539104 2022-02-24 08:16:34 sim = 98% name=input() buy=[] cost=[] while name != 'q': name=name.split() buy.append(name[0]) cost.append(float(name[1])) name=input() bought=input().split() pay=0 for i in bought: a=buy.index(i) pay+=cost[a] print('total payment',pay) | # 6432119021: 1538600 2022-02-24 08:09:45 sim = 98% inp=input() name=[] price=[] while inp != 'q': inp=inp.split() name.append(inp[0]) price.append(float(inp[1])) inp=input() buy=input().split() total=0 for e in buy: k=name.index(e) total+=price[k] print('total payment',total) |
: cluster #7(3)
# 6432044521: 1538739 2022-02-24 08:12:09 sim = 96% x = input().split() name = [] price = [] c = 0 while x[0] != "q": name.append(x[0]) price.append(float(x[1])) x = input().split() y = input().split() for i in range(len(y)): if y[i] in name: b = name.index(y[i]) c += price[b] print("total payment ", c) | # 6432178021: 1539033 2022-02-24 08:15:42 sim = 96% x = input().split() product = [] price = [] a = 0 while x[0] != "q": product.append(x[0]) price.append(float(x[1])) x = input().split() y = input().split() for i in range(len(y)): if y[i] in product: b = product.index(y[i]) a += price[b] print("total payment ", a) | # 6432074321: 1539117 2022-02-24 08:16:53 sim = 92% n = input().split() listt = [] lara = [] p = 0 while n[0] != 'q': listt.append(n[0]) lara.append(n[1]) n = input().split() x = input().split() for e in range(len(x)): if x[e] in listt: j = listt.index(x[e]) p+=float(lara[j]) print('total payment',p) |
: cluster #8(3)
# 6432092621: 1538962 2022-02-24 08:15:05 sim = 95% c = list() temp = input() while(temp != "q"): name,price = temp.split() c.append( [ name,float(price) ] ) temp = input() total = 0 b = input().split() for m in b : for i in range(len(c)): if(c[i][0] == m): total = total + c[i][1] break print( "total payment ",end='' ) print( total ) | # 6432104521: 1538690 2022-02-24 08:11:20 sim = 95% data = [] temp = input() while(temp != "q"): name,price = temp.split() data.append([name,float(price)]) temp = input() total = 0 buy = input().split() for x in buy: for i in range(len(data)): if(data[i][0] == x): total += data[i][1] break print("total payment ",end='') print(total) | # 6432116021: 1539076 2022-02-24 08:16:06 sim = 93% d = [] x = input() while(x != "q"): good,price = x.split() d.append([good,float(price)]) x = input() total = 0 b = input().split() for x in b: for i in range(len(d)): if(d[i][0] == x): total = total + d[i][1] break print("total payment ",end='') print(total) |
: cluster #9(2)
# 6430245021: 1539095 2022-02-24 08:16:23 sim = 95% n = input() name_total = [] price_total = [] total = 0 while n!='q': name,price = n.split() n= input() name_total.append(name) price_total.append(float(price)) z = input().split() for i in z: total+= price_total[name_total.index(i)] print("total payment",total) | # 6430372021: 1538674 2022-02-24 08:11:01 sim = 95% n = input() x = [] y = [] t = 0 while n!='q': a,b = n.split() n = input() x.append(a) y.append(float(b)) p = input().split() for i in p: t += y[x.index(i)] print('total payment',t) |
: cluster #10(3)
# 6430416021: 1538845 2022-02-24 08:13:47 sim = 94% alllist = [] llist = input() while llist != 'q': alllist.append(llist.split()) llist = input() buy = input().split() mon = 0 for i in buy: for j in alllist: if i == j[0]: mon += float(j[1]) print('total payment', mon) | # 6430420421: 1538738 2022-02-24 08:12:08 sim = 94% li = [] t = input() price = 0 while t!='q': li.append(t.split()) t = input() prod = input().split() for e in prod: for k in li: if e == k[0]: price+=float(k[1]) print('total payment',price) | # 6432167021: 1539075 2022-02-24 08:16:06 sim = 93% m = input() price = [] while m != 'q' : price.append(m.split()) m = input() want = input().split() total_price = 0 for e in want : for i in price : if e == i[0] : total_price += float(i[1]) print('total payment',total_price) |
: cluster #11(2)
# 6430205921: 1538702 2022-02-24 08:11:31 sim = 94% x = input() name = [] price = [] while x != 'q': n, p = x.split() name.append(n) price.append(float(p)) x = input() total = 0 buy = input().split() for e in buy: if e in name: total += price[name.index(e)] print('total payment', total) | # 6432072021: 1538425 2022-02-24 08:05:19 sim = 94% m = input() name = [] price = [] while m != 'q': n,p = m.split() name.append(n) price.append(float(p)) m = input() buy = input().split() pay = 0 for e in buy: if e in name: pay += price[name.index(e)] print('total payment ',pay) |
: cluster #12(2)
# 6430243721: 1538411 2022-02-24 08:04:32 sim = 94% x = input() s = [] while x != "q" : s.append(x.split()) x = input() a = input().split() c = 0 for i in range(len(s)) : for e in range(len(a)) : if a[e] == s[i][0] : c += float(s[i][1]) print("total payment", c) | # 6430325521: 1538749 2022-02-24 08:12:20 sim = 94% a = input() b = [] while a != "q" : b.append(a.split()) a = input() c = input().split() total = 0 for i in range(len(c)) : for n in range(len(b)) : if c[i] == b[n][0] : total += float(b[n][1]) print('total payment', total) |
: cluster #13(3)
# 6430361021: 1538568 2022-02-24 08:09:14 sim = 92% l = [] p = [] while True : prod = input().split() if prod[0] == 'q' : break l.append(prod[0]) p.append(float(prod[1])) buy = input().split() sPrice = 0 for bProd in buy : i = l.index(bProd) sPrice += p[i] print('total payment',sPrice) | # 6430404421: 1539007 2022-02-24 08:15:30 sim = 92% goods = [] price = [] while True: l = input().split() if l == ["q"]: break goods.append(l[0]) price.append(float(l[1])) buy = input().split() total = 0 for e in buy: i = goods.index(e) total += price[i] print("total payment ",total) | # 6430290121: 1538549 2022-02-24 08:08:50 sim = 91% n=[] p=[] while True: x = input().split() if x[0]=='q': break n.append(x[0]) p.append(float(x[1])) f = input().split() c=0 for i in f: m = n.index(i) c+= p[m] print('total payment',c) |
: cluster #14(2)
# 6430196921: 1538477 2022-02-24 08:07:01 sim = 92% a = input().split() b = [] c = [] while a != ['q'] : b.append(a[0]) c.append(a[1]) a = input().split() d = input().split() e = 0 for i in d: e += float(c[b.index(i)]) print('total payment',e) | # 6430411821: 1538453 2022-02-24 08:06:21 sim = 92% a=input().split() s=[] s1=[] v=0 while a[0]!='q': s.append(a[0]) s1.append(a[1]) a=input().split() z=input().split() for i in z: v+=float(s1[s.index(i)]) print('total payment',v) |
: cluster #15(2)
# 6430239221: 1538498 2022-02-24 08:07:23 sim = 92% inp = input() a = [] b = [] s = 0 while inp != 'q': c = inp.split() a.append(c[0]) b.append(float(c[1])) inp = input() ans = input().split() for i in ans: if i in a: s += b[a.index(i)] print('total payment', s) | # 6430315221: 1538525 2022-02-24 08:08:09 sim = 92% x=input() a=[] b=[] while x!='q': r=x.split() a.append(r[0]) b.append(float(r[1])) x=input() y=input().split() s=0 for i in y: if i in a: s+=b[a.index(i)] print('total payment',s) |
: cluster #16(2)
# 6430397721: 1539057 2022-02-24 08:15:55 sim = 92% p = input().split() name = [] while p != ['q']: name.append(p) p = input().split() buy_list = input().split() cost = 0 for e in range(len(buy_list)): for i in range(len(name)): if buy_list[e] == name[i][0]: cost += float(name[i][1]) print('total payment',cost) | # 6432001521: 1538602 2022-02-24 08:09:46 sim = 92% a=input().split() b=[] while a!=['q']: b.append(a) a=input().split() c=input().split() d=0 for i in range(len(b)): for j in range(len(c)): if c[j]==b[i][0]: d+=float(b[i][1]) print('total payment',d) |
: cluster #17(2)
# 6430405021: 1538437 2022-02-24 08:05:56 sim = 92% t=input() item=[] price=[] value=0 while t!="q": x=t.split() item.append(x[0]) price.append(x[1]) t = input() order=input().split() for i in range(len(order)): for j in range(len(item)): if order[i]==item[j]: value+=float(price[j]) print("total payment",value) | # 6432034221: 1538537 2022-02-24 08:08:30 sim = 92% s = input() name = [] price = [] while s != 'q': d = s.split() name.append(d[0]) price.append(d[1]) s = input() want = input().split() total = 0 for i in range(len(want)): for j in range(len(name)): if want[i] == name[j]: total += float(price[j]) print('total payment',total) |
: cluster #18(2)
# 6430197521: 1538444 2022-02-24 08:06:06 sim = 90% s = input() d = list() while s != 'q': d.append(s.split()) s = input() b = input().split() p = 0 for e in b: for i in range(len(d)): if d[i][0] == e:p += float(d[i][1]) print("total payment",p) | # 6432069221: 1538632 2022-02-24 08:10:10 sim = 90% product = list() ip = input() while ip != 'q': product.append(ip.split()) ip = input() buy = input().split() price = 0.0 for e in buy: for i in range(len(product)): if e == product[i][0]: price += float(product[i][1]) print('total payment', price) |
: cluster #19(2)
# 6430415321: 1538758 2022-02-24 08:12:26 sim = 90% x= input() name=[] price = [] while x != 'q': n,p = x.split() name.append(n) price.append(p) x = input() sums = 0 q = input().split() for i in q: if i in name: a = name.index(i) sums += float(price[a]) print('total payment',sums) | # 6432057721: 1538612 2022-02-24 08:09:52 sim = 90% x = input() name = [] price = [] while x != 'q': name1,price1 = x.split() name.append(name1) price.append(price1) x = input() m = input().split() pay = 0 for na in m: if na in name: i = name.index(na) pr = float(price[i]) pay += pr print('total payment',pay) |