s_id
stringlengths
10
10
p_id
stringlengths
6
6
u_id
stringlengths
10
10
date
stringlengths
10
10
language
stringclasses
1 value
original_language
stringclasses
11 values
filename_ext
stringclasses
1 value
status
stringclasses
1 value
cpu_time
int64
0
100
memory
stringlengths
4
6
code_size
int64
15
14.7k
code
stringlengths
15
14.7k
problem_id
stringlengths
6
6
problem_description
stringlengths
358
9.83k
input
stringlengths
2
4.87k
output
stringclasses
807 values
__index_level_0__
int64
1.1k
1.22M
s598135645
p00100
u926657458
1508786033
Python
Python3
py
Accepted
30
7864
328
while True: n = int(input()) if n == 0: break c = 0 l = [] d = {} for i in range(n): num,x,y = map(int,input().split()) if num in d: d[num] = d[num] + x*y else: d[num] = x*y l.append(num) for i in l: if d[i] >= 1000000: print(i) c += 1 if c == 0: pri...
p00100
<H1>Sale Result</H1> <p> There is data on sales of your company. Your task is to write a program which identifies good workers. </p> <p> The program should read a list of data where each item includes the employee ID <i>i</i>, the amount of sales <i>q</i> and the corresponding unit price <i>p</i>. Then, the program ...
4 1001 2000 520 1002 1800 450 1003 1600 625 1001 200 1220 2 1001 100 3 1005 1000 100 2 2013 5000 100 2013 5000 100 0
1001 1003 NA 2013
13,087
s899310275
p00100
u926657458
1508788624
Python
Python3
py
Accepted
30
7756
399
while(True): n = int(input()) if n == 0: break c = 0 l = [] d = {} for i in range(n): num,x,y = map(int,input().split()) if num in d: d[num] = d[num] + x*y else: d[num] = x*y l.append(num) for i in l: if d[i] >= 1000...
p00100
<H1>Sale Result</H1> <p> There is data on sales of your company. Your task is to write a program which identifies good workers. </p> <p> The program should read a list of data where each item includes the employee ID <i>i</i>, the amount of sales <i>q</i> and the corresponding unit price <i>p</i>. Then, the program ...
4 1001 2000 520 1002 1800 450 1003 1600 625 1001 200 1220 2 1001 100 3 1005 1000 100 2 2013 5000 100 2013 5000 100 0
1001 1003 NA 2013
13,088
s308088019
p00100
u926657458
1508788775
Python
Python3
py
Accepted
30
7776
385
while(True): n = int(input()) if n==0: break d = {} c = 0 l = list() for _ in range(n): id_,p,q = map(int,input().split()) if id_ in d: d[id_] += p*q else: d[id_] = p*q l.append(id_) for i in l: if d[i] >= 1000000: ...
p00100
<H1>Sale Result</H1> <p> There is data on sales of your company. Your task is to write a program which identifies good workers. </p> <p> The program should read a list of data where each item includes the employee ID <i>i</i>, the amount of sales <i>q</i> and the corresponding unit price <i>p</i>. Then, the program ...
4 1001 2000 520 1002 1800 450 1003 1600 625 1001 200 1220 2 1001 100 3 1005 1000 100 2 2013 5000 100 2013 5000 100 0
1001 1003 NA 2013
13,089
s824003319
p00100
u742505495
1509967704
Python
Python3
py
Accepted
60
7888
483
import sys import math data =[0 for i in range(4000)] p_data = [] while True: n = int(input()) count = 0 if n == 0: break for i in range(n): e,p,q = map(int, input().split()) data[e] = data[e] + p * q if p_data.count(e) == 0: p_data.append(e) for i in range(len(p_data)): if data[p_data[i]] >= 1000000...
p00100
<H1>Sale Result</H1> <p> There is data on sales of your company. Your task is to write a program which identifies good workers. </p> <p> The program should read a list of data where each item includes the employee ID <i>i</i>, the amount of sales <i>q</i> and the corresponding unit price <i>p</i>. Then, the program ...
4 1001 2000 520 1002 1800 450 1003 1600 625 1001 200 1220 2 1001 100 3 1005 1000 100 2 2013 5000 100 2013 5000 100 0
1001 1003 NA 2013
13,090
s522690854
p00100
u566872786
1511242095
Python
Python3
py
Accepted
30
8260
255
while 1: n=int(input()) if not n:break f=1 L={} for a,b,c in [input().split() for i in range(n)]: if a in L: if L[a]>=1e6:continue L[a]+=int(b)*int(c) else:L[a]=int(b)*int(c) if L[a] >= 1e6:print(a);f=0 if f:print('NA')
p00100
<H1>Sale Result</H1> <p> There is data on sales of your company. Your task is to write a program which identifies good workers. </p> <p> The program should read a list of data where each item includes the employee ID <i>i</i>, the amount of sales <i>q</i> and the corresponding unit price <i>p</i>. Then, the program ...
4 1001 2000 520 1002 1800 450 1003 1600 625 1001 200 1220 2 1001 100 3 1005 1000 100 2 2013 5000 100 2013 5000 100 0
1001 1003 NA 2013
13,091
s215967604
p00100
u566872786
1511242691
Python
Python3
py
Accepted
30
8320
257
while 1: n=int(input()) if not n:break f=1 L={} for a,b,c in [map(int,input().split()) for i in range(n)]: a=str(a) if a in L: if L[a]>=1e6:continue L[a]+=b*c else:L[a]=b*c if L[a] >= 1e6:print(a);f=0 if f:print('NA')
p00100
<H1>Sale Result</H1> <p> There is data on sales of your company. Your task is to write a program which identifies good workers. </p> <p> The program should read a list of data where each item includes the employee ID <i>i</i>, the amount of sales <i>q</i> and the corresponding unit price <i>p</i>. Then, the program ...
4 1001 2000 520 1002 1800 450 1003 1600 625 1001 200 1220 2 1001 100 3 1005 1000 100 2 2013 5000 100 2013 5000 100 0
1001 1003 NA 2013
13,092
s866410348
p00100
u566872786
1511243277
Python
Python3
py
Accepted
60
8152
276
while 1: n=int(input()) if not n:break f=1 L={} for a,b,c in [map(int,input().split()) for i in range(n)]: a=str(a) d=b*c if a in L: if L[a]>=1e6:continue L[a]+=d else:L[a]=d if L[a] >= 1e6: print(a) f=0 if f:print('NA')
p00100
<H1>Sale Result</H1> <p> There is data on sales of your company. Your task is to write a program which identifies good workers. </p> <p> The program should read a list of data where each item includes the employee ID <i>i</i>, the amount of sales <i>q</i> and the corresponding unit price <i>p</i>. Then, the program ...
4 1001 2000 520 1002 1800 450 1003 1600 625 1001 200 1220 2 1001 100 3 1005 1000 100 2 2013 5000 100 2013 5000 100 0
1001 1003 NA 2013
13,093
s334869004
p00100
u566872786
1511243472
Python
Python3
py
Accepted
30
8204
262
while 1: n=int(input()) if not n:break f=1 L={} for a,b,c in [input().split() for i in range(n)]: d=int(b)*int(c) if a in L: if L[a]>=1e6:continue L[a]+=d else:L[a]=d if L[a]>=1e6: print(a) f=0 if f:print('NA')
p00100
<H1>Sale Result</H1> <p> There is data on sales of your company. Your task is to write a program which identifies good workers. </p> <p> The program should read a list of data where each item includes the employee ID <i>i</i>, the amount of sales <i>q</i> and the corresponding unit price <i>p</i>. Then, the program ...
4 1001 2000 520 1002 1800 450 1003 1600 625 1001 200 1220 2 1001 100 3 1005 1000 100 2 2013 5000 100 2013 5000 100 0
1001 1003 NA 2013
13,094
s494716063
p00100
u566872786
1511243668
Python
Python3
py
Accepted
30
8260
249
while 1: n=int(input()) if not n:break f=1 L={} for a,b,c in [input().split() for i in range(n)]: d=int(b)*int(c) if a in L: if L[a]>=1e6:continue L[a]+=d else:L[a]=d if L[a]>=1e6:print(a);f=0 if f:print('NA')
p00100
<H1>Sale Result</H1> <p> There is data on sales of your company. Your task is to write a program which identifies good workers. </p> <p> The program should read a list of data where each item includes the employee ID <i>i</i>, the amount of sales <i>q</i> and the corresponding unit price <i>p</i>. Then, the program ...
4 1001 2000 520 1002 1800 450 1003 1600 625 1001 200 1220 2 1001 100 3 1005 1000 100 2 2013 5000 100 2013 5000 100 0
1001 1003 NA 2013
13,095
s268791664
p00100
u742178809
1511344727
Python
Python3
py
Accepted
40
8320
565
import sys from collections import OrderedDict #from me.io import dup_file_stdin #@dup_file_stdin def solve(): while True: n = int(sys.stdin.readline()) if n==0 : break emps = OrderedDict() for i in range(n): no,price,amount = map(int,sys.stdin.readline().spl...
p00100
<H1>Sale Result</H1> <p> There is data on sales of your company. Your task is to write a program which identifies good workers. </p> <p> The program should read a list of data where each item includes the employee ID <i>i</i>, the amount of sales <i>q</i> and the corresponding unit price <i>p</i>. Then, the program ...
4 1001 2000 520 1002 1800 450 1003 1600 625 1001 200 1220 2 1001 100 3 1005 1000 100 2 2013 5000 100 2013 5000 100 0
1001 1003 NA 2013
13,096
s350250173
p00100
u546285759
1514090024
Python
Python3
py
Accepted
40
5828
390
while True: n = int(input()) if n == 0: break data = [0] * 4001 order = [] for _ in range(n): e, p, q = map(int, input().split()) data[e] += p*q if e not in order: order.append(e) flag = True for e in order: if data[e] >= 1000000: ...
p00100
<H1>Sale Result</H1> <p> There is data on sales of your company. Your task is to write a program which identifies good workers. </p> <p> The program should read a list of data where each item includes the employee ID <i>i</i>, the amount of sales <i>q</i> and the corresponding unit price <i>p</i>. Then, the program ...
4 1001 2000 520 1002 1800 450 1003 1600 625 1001 200 1220 2 1001 100 3 1005 1000 100 2 2013 5000 100 2013 5000 100 0
1001 1003 NA 2013
13,097
s381184017
p00100
u808429775
1514826624
Python
Python3
py
Accepted
50
5808
768
# coding:utf-8 while (True): inputCount = int(input()) if inputCount == 0: break employeeNumber = [] employeePrice = [] while 0 < inputCount: inputNum = [int(item) for item in input().split(" ")] price = inputNum[1] * inputNum[2] if inputNum[0] in employeeNumber...
p00100
<H1>Sale Result</H1> <p> There is data on sales of your company. Your task is to write a program which identifies good workers. </p> <p> The program should read a list of data where each item includes the employee ID <i>i</i>, the amount of sales <i>q</i> and the corresponding unit price <i>p</i>. Then, the program ...
4 1001 2000 520 1002 1800 450 1003 1600 625 1001 200 1220 2 1001 100 3 1005 1000 100 2 2013 5000 100 2013 5000 100 0
1001 1003 NA 2013
13,098
s839869717
p00100
u184989919
1515162027
Python
Python3
py
Accepted
30
5832
338
while True: n = int(input()) if n == 0: break c = 0 l = [] d = {} for i in range(n): num,x,y = [int(i) for i in input().split()] if num in d: d[num] = d[num] + x*y else: d[num] = x*y l.append(num) for i in l: if d[i] >= 1000000: print(i) c += 1 if c == 0...
p00100
<H1>Sale Result</H1> <p> There is data on sales of your company. Your task is to write a program which identifies good workers. </p> <p> The program should read a list of data where each item includes the employee ID <i>i</i>, the amount of sales <i>q</i> and the corresponding unit price <i>p</i>. Then, the program ...
4 1001 2000 520 1002 1800 450 1003 1600 625 1001 200 1220 2 1001 100 3 1005 1000 100 2 2013 5000 100 2013 5000 100 0
1001 1003 NA 2013
13,099
s304203964
p00100
u150984829
1516880405
Python
Python3
py
Accepted
30
5792
188
while 1: a={};b=1 n=int(input()) if n==0:break for _ in[0]*n: e,p,q=map(int,input().split()) a.setdefault(e,0);a[e]+=p*q for e in a: if a[e]>=1e6:print(e);b=0 if b:print('NA')
p00100
<H1>Sale Result</H1> <p> There is data on sales of your company. Your task is to write a program which identifies good workers. </p> <p> The program should read a list of data where each item includes the employee ID <i>i</i>, the amount of sales <i>q</i> and the corresponding unit price <i>p</i>. Then, the program ...
4 1001 2000 520 1002 1800 450 1003 1600 625 1001 200 1220 2 1001 100 3 1005 1000 100 2 2013 5000 100 2013 5000 100 0
1001 1003 NA 2013
13,100
s955876877
p00100
u150984829
1516880435
Python
Python3
py
Accepted
30
5788
188
while 1: a={};b=1 n=int(input()) if n==0:break for _ in[0]*n: e,p,q=map(int,input().split()) a.setdefault(e,0);a[e]+=p*q for e in a: if a[e]>=1e6:print(e);b=0 if b:print('NA')
p00100
<H1>Sale Result</H1> <p> There is data on sales of your company. Your task is to write a program which identifies good workers. </p> <p> The program should read a list of data where each item includes the employee ID <i>i</i>, the amount of sales <i>q</i> and the corresponding unit price <i>p</i>. Then, the program ...
4 1001 2000 520 1002 1800 450 1003 1600 625 1001 200 1220 2 1001 100 3 1005 1000 100 2 2013 5000 100 2013 5000 100 0
1001 1003 NA 2013
13,101
s865687635
p00100
u150984829
1516880437
Python
Python3
py
Accepted
30
5792
188
while 1: a={};b=1 n=int(input()) if n==0:break for _ in[0]*n: e,p,q=map(int,input().split()) a.setdefault(e,0);a[e]+=p*q for e in a: if a[e]>=1e6:print(e);b=0 if b:print('NA')
p00100
<H1>Sale Result</H1> <p> There is data on sales of your company. Your task is to write a program which identifies good workers. </p> <p> The program should read a list of data where each item includes the employee ID <i>i</i>, the amount of sales <i>q</i> and the corresponding unit price <i>p</i>. Then, the program ...
4 1001 2000 520 1002 1800 450 1003 1600 625 1001 200 1220 2 1001 100 3 1005 1000 100 2 2013 5000 100 2013 5000 100 0
1001 1003 NA 2013
13,102
s083249047
p00100
u150984829
1516880439
Python
Python3
py
Accepted
30
5788
188
while 1: a={};b=1 n=int(input()) if n==0:break for _ in[0]*n: e,p,q=map(int,input().split()) a.setdefault(e,0);a[e]+=p*q for e in a: if a[e]>=1e6:print(e);b=0 if b:print('NA')
p00100
<H1>Sale Result</H1> <p> There is data on sales of your company. Your task is to write a program which identifies good workers. </p> <p> The program should read a list of data where each item includes the employee ID <i>i</i>, the amount of sales <i>q</i> and the corresponding unit price <i>p</i>. Then, the program ...
4 1001 2000 520 1002 1800 450 1003 1600 625 1001 200 1220 2 1001 100 3 1005 1000 100 2 2013 5000 100 2013 5000 100 0
1001 1003 NA 2013
13,103
s051628712
p00100
u428982301
1526443505
Python
Python3
py
Accepted
30
5776
501
while True: no = {} n = int(input()) if (n == 0): break for i in range(n): datas = map(int, input().split()) li = list(datas) e = li[0] p = li[1] q = li[2] s = p * q if (e not in no): no[e] = s else: n...
p00100
<H1>Sale Result</H1> <p> There is data on sales of your company. Your task is to write a program which identifies good workers. </p> <p> The program should read a list of data where each item includes the employee ID <i>i</i>, the amount of sales <i>q</i> and the corresponding unit price <i>p</i>. Then, the program ...
4 1001 2000 520 1002 1800 450 1003 1600 625 1001 200 1220 2 1001 100 3 1005 1000 100 2 2013 5000 100 2013 5000 100 0
1001 1003 NA 2013
13,104
s433975225
p00100
u352394527
1527438120
Python
Python3
py
Accepted
30
5948
410
while True: n = int(input()) if not n: break dic = {} for i in range(n): e, p, q = map(int, input().split()) if e in dic: dic[e] = (dic[e][0], dic[e][1] + p * q) else: dic[e] = (i, p * q) lst = [] for k in dic: if dic[k][1] >= 1000000: lst.append((dic[k][0], k...
p00100
<H1>Sale Result</H1> <p> There is data on sales of your company. Your task is to write a program which identifies good workers. </p> <p> The program should read a list of data where each item includes the employee ID <i>i</i>, the amount of sales <i>q</i> and the corresponding unit price <i>p</i>. Then, the program ...
4 1001 2000 520 1002 1800 450 1003 1600 625 1001 200 1220 2 1001 100 3 1005 1000 100 2 2013 5000 100 2013 5000 100 0
1001 1003 NA 2013
13,105
s971494471
p00100
u136916346
1528343702
Python
Python3
py
Accepted
30
5988
335
e=[] while 1: l=[list(map(int,input().split())) for i in range(int(input()))] if not l:break d={} for i in l: if i[0] not in d: d[i[0]]=i[1]*i[2] else: d[i[0]]+=i[1]*i[2] e.append(d) f=0 for i in e: f=0 for j in i.items(): if j[1]>=1000000: print(j[0]) f=1 if not f: ...
p00100
<H1>Sale Result</H1> <p> There is data on sales of your company. Your task is to write a program which identifies good workers. </p> <p> The program should read a list of data where each item includes the employee ID <i>i</i>, the amount of sales <i>q</i> and the corresponding unit price <i>p</i>. Then, the program ...
4 1001 2000 520 1002 1800 450 1003 1600 625 1001 200 1220 2 1001 100 3 1005 1000 100 2 2013 5000 100 2013 5000 100 0
1001 1003 NA 2013
13,106
s511595754
p00100
u847467233
1529182858
Python
Python3
py
Accepted
30
5836
354
# AOJ 0100 Sale Result # Python3 2018.6.17 bal4u while True: n = int(input()) if n == 0: break id = [] pq = [-1]*4001 for i in range(n): e, p, q = list(map(int, input().split())) if pq[e] < 0: id.append(e) pq[e] = p*q else: pq[e] += p*q f = False for e in id: if pq[e] >= 1000000: print(e) ...
p00100
<H1>Sale Result</H1> <p> There is data on sales of your company. Your task is to write a program which identifies good workers. </p> <p> The program should read a list of data where each item includes the employee ID <i>i</i>, the amount of sales <i>q</i> and the corresponding unit price <i>p</i>. Then, the program ...
4 1001 2000 520 1002 1800 450 1003 1600 625 1001 200 1220 2 1001 100 3 1005 1000 100 2 2013 5000 100 2013 5000 100 0
1001 1003 NA 2013
13,107
s362140549
p00100
u881567576
1349099776
Python
Python
py
Accepted
20
4336
576
while 2 > 1: line_num = int(raw_input()) if line_num < 1: break mydict = {} mydict_distinct = {} myIDlist = [] for n in range(line_num): dat = map(int, raw_input().split(" ")) if dat[0] in mydict_distinct: mydict[dat[0]] += dat[1] * dat[2] else: ...
p00100
<H1>Sale Result</H1> <p> There is data on sales of your company. Your task is to write a program which identifies good workers. </p> <p> The program should read a list of data where each item includes the employee ID <i>i</i>, the amount of sales <i>q</i> and the corresponding unit price <i>p</i>. Then, the program ...
4 1001 2000 520 1002 1800 450 1003 1600 625 1001 200 1220 2 1001 100 3 1005 1000 100 2 2013 5000 100 2013 5000 100 0
1001 1003 NA 2013
13,108
s358437922
p00100
u894941280
1349282734
Python
Python
py
Accepted
20
5216
630
import sys while True: a=int(input()) if a==0: break ans,name1,name2=[],[],[] hogehoge=0 for i in range(a): hoge=map(int,raw_input().split()) if hoge[0] in name2: ww = hoge[1]*hoge[2] r = name2.index(hoge[0]) if len(str(ans[r]+ww)) >= 7: hogehoge+=1 name1.append(hoge...
p00100
<H1>Sale Result</H1> <p> There is data on sales of your company. Your task is to write a program which identifies good workers. </p> <p> The program should read a list of data where each item includes the employee ID <i>i</i>, the amount of sales <i>q</i> and the corresponding unit price <i>p</i>. Then, the program ...
4 1001 2000 520 1002 1800 450 1003 1600 625 1001 200 1220 2 1001 100 3 1005 1000 100 2 2013 5000 100 2013 5000 100 0
1001 1003 NA 2013
13,109
s751352158
p00100
u647766105
1357446205
Python
Python
py
Accepted
30
4344
353
while True: n=input() if n==0: break sale=[0]*4000 raw=[] for unused in xrange(n): a,b,c=map(int,raw_input().split()) sale[a]+=b*c if a not in raw: raw.append(a) ans=[i for i in raw if sale[i]>=1000000] if not ans: print "NA" else: ...
p00100
<H1>Sale Result</H1> <p> There is data on sales of your company. Your task is to write a program which identifies good workers. </p> <p> The program should read a list of data where each item includes the employee ID <i>i</i>, the amount of sales <i>q</i> and the corresponding unit price <i>p</i>. Then, the program ...
4 1001 2000 520 1002 1800 450 1003 1600 625 1001 200 1220 2 1001 100 3 1005 1000 100 2 2013 5000 100 2013 5000 100 0
1001 1003 NA 2013
13,110
s712416361
p00100
u577457452
1361467463
Python
Python
py
Accepted
20
4364
492
while 1: n = int(raw_input()) if n == 0: break table = [] index = {} for k in range(n): i, p, q = raw_input().split() record = index.get(i) if not record: record = [i, 0] table.append(record) index[i] = record record[1] += int(p) * ...
p00100
<H1>Sale Result</H1> <p> There is data on sales of your company. Your task is to write a program which identifies good workers. </p> <p> The program should read a list of data where each item includes the employee ID <i>i</i>, the amount of sales <i>q</i> and the corresponding unit price <i>p</i>. Then, the program ...
4 1001 2000 520 1002 1800 450 1003 1600 625 1001 200 1220 2 1001 100 3 1005 1000 100 2 2013 5000 100 2013 5000 100 0
1001 1003 NA 2013
13,111
s036792027
p00100
u542421762
1370144489
Python
Python
py
Accepted
70
4604
830
import sys class Person: def __init__(self, number): self.number = number self.total_sales = 0 def sales(self, price, quantity): self.total_sales += price * quantity while True: n = int(sys.stdin.readline()) if n == 0: exit() persons = [] for i in range(n): ...
p00100
<H1>Sale Result</H1> <p> There is data on sales of your company. Your task is to write a program which identifies good workers. </p> <p> The program should read a list of data where each item includes the employee ID <i>i</i>, the amount of sales <i>q</i> and the corresponding unit price <i>p</i>. Then, the program ...
4 1001 2000 520 1002 1800 450 1003 1600 625 1001 200 1220 2 1001 100 3 1005 1000 100 2 2013 5000 100 2013 5000 100 0
1001 1003 NA 2013
13,112
s497778941
p00100
u865312527
1372347480
Python
Python
py
Accepted
30
4636
365
while 1: n=input() if n==0: break ans={} x=[raw_input().split() for _ in range(n)] w=[] for a,b,c in x: if not a in w: w.append(a) ans.setdefault(a,0) ans[a]+=int(b)*int(c) y=[k for k,v in ans.items() if v>=1000000] if len(y)==0: print 'NA' else: ...
p00100
<H1>Sale Result</H1> <p> There is data on sales of your company. Your task is to write a program which identifies good workers. </p> <p> The program should read a list of data where each item includes the employee ID <i>i</i>, the amount of sales <i>q</i> and the corresponding unit price <i>p</i>. Then, the program ...
4 1001 2000 520 1002 1800 450 1003 1600 625 1001 200 1220 2 1001 100 3 1005 1000 100 2 2013 5000 100 2013 5000 100 0
1001 1003 NA 2013
13,113
s562526067
p00100
u572424947
1376551572
Python
Python
py
Accepted
70
4792
951
class Member(): def __init__(self, mi): self.member_id = int(mi) self.datalist = [] def addData(self, pr, sn): self.datalist.append([int(pr), int(sn)]) def calc(self): sum = 0 for p, s in self.datalist: sum += p * s return sum output_list = [] members = [] member_dict = {} while 1: n = i...
p00100
<H1>Sale Result</H1> <p> There is data on sales of your company. Your task is to write a program which identifies good workers. </p> <p> The program should read a list of data where each item includes the employee ID <i>i</i>, the amount of sales <i>q</i> and the corresponding unit price <i>p</i>. Then, the program ...
4 1001 2000 520 1002 1800 450 1003 1600 625 1001 200 1220 2 1001 100 3 1005 1000 100 2 2013 5000 100 2013 5000 100 0
1001 1003 NA 2013
13,114
s468452189
p00100
u454358619
1377340218
Python
Python
py
Accepted
20
4360
492
while 1: n = int(raw_input()) if n == 0: break table = [] index = {} for k in range(n): i, p, q = raw_input().split() record = index.get(i) if not record: record = [i, 0] table.append(record) index[i] = record record[1] += int(p) * ...
p00100
<H1>Sale Result</H1> <p> There is data on sales of your company. Your task is to write a program which identifies good workers. </p> <p> The program should read a list of data where each item includes the employee ID <i>i</i>, the amount of sales <i>q</i> and the corresponding unit price <i>p</i>. Then, the program ...
4 1001 2000 520 1002 1800 450 1003 1600 625 1001 200 1220 2 1001 100 3 1005 1000 100 2 2013 5000 100 2013 5000 100 0
1001 1003 NA 2013
13,115
s128475962
p00100
u180584272
1381669900
Python
Python
py
Accepted
30
4324
440
from sys import stdin while True: n = int(stdin.readline()) if n==0: break ps = [] prd = {} for gomi in xrange(n): p,a,b = map(int,stdin.readline().split()) if p in ps: r = prd.pop(p)+a*b else: ps.append(p) r = a*b prd.update({p:r}) isNA ...
p00100
<H1>Sale Result</H1> <p> There is data on sales of your company. Your task is to write a program which identifies good workers. </p> <p> The program should read a list of data where each item includes the employee ID <i>i</i>, the amount of sales <i>q</i> and the corresponding unit price <i>p</i>. Then, the program ...
4 1001 2000 520 1002 1800 450 1003 1600 625 1001 200 1220 2 1001 100 3 1005 1000 100 2 2013 5000 100 2013 5000 100 0
1001 1003 NA 2013
13,116
s513623595
p00100
u782850731
1382278074
Python
Python
py
Accepted
20
4736
718
#!/usr/bin/env python from __future__ import division, print_function from sys import stdin, exit from collections import Counter def main(readline=stdin.readline): count = Counter() member = [] while 1: n = int(readline()) if not n: exit() count.clear() del m...
p00100
<H1>Sale Result</H1> <p> There is data on sales of your company. Your task is to write a program which identifies good workers. </p> <p> The program should read a list of data where each item includes the employee ID <i>i</i>, the amount of sales <i>q</i> and the corresponding unit price <i>p</i>. Then, the program ...
4 1001 2000 520 1002 1800 450 1003 1600 625 1001 200 1220 2 1001 100 3 1005 1000 100 2 2013 5000 100 2013 5000 100 0
1001 1003 NA 2013
13,117
s584543711
p00100
u223011712
1393184286
Python
Python
py
Accepted
70
4392
523
def add(lis,check_list): for index in range(len(lis)): if lis[index][0]==check_list[0]: lis[index][1]+=int(check_list[1])*int(check_list[2]) return lis.append([check_list[0],int(check_list[1])*int(check_list[2])]) while True: num=int(raw_input()) if num==0: break li...
p00100
<H1>Sale Result</H1> <p> There is data on sales of your company. Your task is to write a program which identifies good workers. </p> <p> The program should read a list of data where each item includes the employee ID <i>i</i>, the amount of sales <i>q</i> and the corresponding unit price <i>p</i>. Then, the program ...
4 1001 2000 520 1002 1800 450 1003 1600 625 1001 200 1220 2 1001 100 3 1005 1000 100 2 2013 5000 100 2013 5000 100 0
1001 1003 NA 2013
13,118
s072621256
p00100
u633068244
1396255314
Python
Python
py
Accepted
10
4332
349
while True: n = int(raw_input()) if n == 0: break data = {} order = [] for i in range(n): id,price,quant = map(int, raw_input().split()) if id in data: data[id] += price*quant else: data[id] = price*quant order.append(id) if max(data.values()) < 1000000: print "NA" else: for k in order: if ...
p00100
<H1>Sale Result</H1> <p> There is data on sales of your company. Your task is to write a program which identifies good workers. </p> <p> The program should read a list of data where each item includes the employee ID <i>i</i>, the amount of sales <i>q</i> and the corresponding unit price <i>p</i>. Then, the program ...
4 1001 2000 520 1002 1800 450 1003 1600 625 1001 200 1220 2 1001 100 3 1005 1000 100 2 2013 5000 100 2013 5000 100 0
1001 1003 NA 2013
13,119
s372918911
p00100
u266872031
1396535064
Python
Python
py
Accepted
20
4392
1,117
import sys datasetnum=[] n=-1 def calculatebillionare(n): global datasetnum scores={} billionares=[] if n==-1: return None else: for salesdata in datasetnum: if not salesdata[0] in billionares: if salesdata[0] in scores: scores[salesd...
p00100
<H1>Sale Result</H1> <p> There is data on sales of your company. Your task is to write a program which identifies good workers. </p> <p> The program should read a list of data where each item includes the employee ID <i>i</i>, the amount of sales <i>q</i> and the corresponding unit price <i>p</i>. Then, the program ...
4 1001 2000 520 1002 1800 450 1003 1600 625 1001 200 1220 2 1001 100 3 1005 1000 100 2 2013 5000 100 2013 5000 100 0
1001 1003 NA 2013
13,120
s130775501
p00100
u193025715
1397812172
Python
Python
py
Accepted
30
4324
484
while True: ans = [] data = {} r = input() if r == 0: break for i in xrange(r): tmp = map(int, raw_input().split()) if tmp[0] in data.keys(): data[tmp[0]] += tmp[1] * tmp[2] else: data.update({tmp[0]:tmp[1]*tmp[2]}) if dat...
p00100
<H1>Sale Result</H1> <p> There is data on sales of your company. Your task is to write a program which identifies good workers. </p> <p> The program should read a list of data where each item includes the employee ID <i>i</i>, the amount of sales <i>q</i> and the corresponding unit price <i>p</i>. Then, the program ...
4 1001 2000 520 1002 1800 450 1003 1600 625 1001 200 1220 2 1001 100 3 1005 1000 100 2 2013 5000 100 2013 5000 100 0
1001 1003 NA 2013
13,121
s222486466
p00100
u621997536
1397991289
Python
Python
py
Accepted
30
4348
358
while True: N = input() if not N: break m = dict() o = [] for i in range(N): a, b, c = map(int, raw_input().split()) o.append(a) m[a] = (m[a] if a in m else 0) + b * c oo = [] for x in o: if x not in oo: oo.append(x) for i in oo: if m[i] >= 1000000: print(i) if max(...
p00100
<H1>Sale Result</H1> <p> There is data on sales of your company. Your task is to write a program which identifies good workers. </p> <p> The program should read a list of data where each item includes the employee ID <i>i</i>, the amount of sales <i>q</i> and the corresponding unit price <i>p</i>. Then, the program ...
4 1001 2000 520 1002 1800 450 1003 1600 625 1001 200 1220 2 1001 100 3 1005 1000 100 2 2013 5000 100 2013 5000 100 0
1001 1003 NA 2013
13,122
s596926999
p00100
u842461513
1596700995
Python
Python3
py
Accepted
30
5832
672
#個数の入力値が0になるまで繰り返す。空の辞書を作成。 while True: n = int(input()) if n == 0:break sya = {} #辞書の中に社員番号があったなら数値を加算し、ないなら新しく追加する。 for _ in range(n): try: a,b,c = map(int,input().split()) sya[a] = sya[a]+b*c except KeyError: sya[a] = b*c k =[] ...
p00100
<H1>Sale Result</H1> <p> There is data on sales of your company. Your task is to write a program which identifies good workers. </p> <p> The program should read a list of data where each item includes the employee ID <i>i</i>, the amount of sales <i>q</i> and the corresponding unit price <i>p</i>. Then, the program ...
4 1001 2000 520 1002 1800 450 1003 1600 625 1001 200 1220 2 1001 100 3 1005 1000 100 2 2013 5000 100 2013 5000 100 0
1001 1003 NA 2013
13,123
s670102497
p00100
u770042163
1596181200
Python
Python3
py
Accepted
30
5952
537
while True: flg = True inf = [] dic = {} n = int(input()) if n==0: break for i in range(n): inf.append(list(map(int,input().split()))) if inf[i][0] in dic: tmp = dic[inf[i][0]] + inf[i][1]*inf[i][2] dic[inf[i][0]] = tmp else: di...
p00100
<H1>Sale Result</H1> <p> There is data on sales of your company. Your task is to write a program which identifies good workers. </p> <p> The program should read a list of data where each item includes the employee ID <i>i</i>, the amount of sales <i>q</i> and the corresponding unit price <i>p</i>. Then, the program ...
4 1001 2000 520 1002 1800 450 1003 1600 625 1001 200 1220 2 1001 100 3 1005 1000 100 2 2013 5000 100 2013 5000 100 0
1001 1003 NA 2013
13,124
s197490827
p00100
u187074069
1595982038
Python
Python3
py
Accepted
30
5832
457
while True: n = int(input()) if n == 0: break lst = [0]*4001 elst = [] ans = [] for i in range(n): e, p, q = map(int, input().split()) if lst[e]: pass else: elst.append(e) lst[e] = lst[e] + p*q for i in elst: if lst[i...
p00100
<H1>Sale Result</H1> <p> There is data on sales of your company. Your task is to write a program which identifies good workers. </p> <p> The program should read a list of data where each item includes the employee ID <i>i</i>, the amount of sales <i>q</i> and the corresponding unit price <i>p</i>. Then, the program ...
4 1001 2000 520 1002 1800 450 1003 1600 625 1001 200 1220 2 1001 100 3 1005 1000 100 2 2013 5000 100 2013 5000 100 0
1001 1003 NA 2013
13,125
s132491801
p00100
u260980560
1588638782
Python
Python3
py
Accepted
40
5784
415
def solve(): N = int(input()) if N == 0: return False E = [] D = {} for i in range(N): e, p, q = map(int, input().split()) E.append(e) D[e] = D.get(e, 0) + p*q cnt = 0 for e in E: if D.get(e, 0) >= 1000000: print(e) del D[e] ...
p00100
<H1>Sale Result</H1> <p> There is data on sales of your company. Your task is to write a program which identifies good workers. </p> <p> The program should read a list of data where each item includes the employee ID <i>i</i>, the amount of sales <i>q</i> and the corresponding unit price <i>p</i>. Then, the program ...
4 1001 2000 520 1002 1800 450 1003 1600 625 1001 200 1220 2 1001 100 3 1005 1000 100 2 2013 5000 100 2013 5000 100 0
1001 1003 NA 2013
13,126
s830505881
p00100
u942532706
1575470777
Python
Python3
py
Accepted
40
6216
377
from collections import defaultdict while True: n = int(input()) if n == 0: break dv = defaultdict(int) for _ in range(n): e, p, q = list(map(int, input().split())) dv[e] += p * q count = 0 for k, v in dv.items(): if v >= 1000000: print(k) ...
p00100
<H1>Sale Result</H1> <p> There is data on sales of your company. Your task is to write a program which identifies good workers. </p> <p> The program should read a list of data where each item includes the employee ID <i>i</i>, the amount of sales <i>q</i> and the corresponding unit price <i>p</i>. Then, the program ...
4 1001 2000 520 1002 1800 450 1003 1600 625 1001 200 1220 2 1001 100 3 1005 1000 100 2 2013 5000 100 2013 5000 100 0
1001 1003 NA 2013
13,127
s503419596
p00100
u803862921
1571651339
Python
Python3
py
Accepted
40
6220
391
from collections import defaultdict while True: n = int(input()) if n == 0: break SALES = defaultdict(int) for _ in range(n): id, p, num = [int(x) for x in input().split()] SALES[id] += p * num L = [k for k, v in SALES.items() if v >= 1000000] if len(L) > 0: ...
p00100
<H1>Sale Result</H1> <p> There is data on sales of your company. Your task is to write a program which identifies good workers. </p> <p> The program should read a list of data where each item includes the employee ID <i>i</i>, the amount of sales <i>q</i> and the corresponding unit price <i>p</i>. Then, the program ...
4 1001 2000 520 1002 1800 450 1003 1600 625 1001 200 1220 2 1001 100 3 1005 1000 100 2 2013 5000 100 2013 5000 100 0
1001 1003 NA 2013
13,128
s395880586
p00100
u108130680
1564796863
Python
Python3
py
Accepted
30
5828
302
while 1: n=int(input()) if n==0:break a={};c=[] for _ in range(n): b=list(map(int,input().split())) if b[0] in a:a[b[0]]+=b[1]*b[2] else:a[b[0]]=b[1]*b[2];c.append(b[0]) if max(a.values())<=999999:print('NA' ) for i in c: if a[i]>999999:print(i)
p00100
<H1>Sale Result</H1> <p> There is data on sales of your company. Your task is to write a program which identifies good workers. </p> <p> The program should read a list of data where each item includes the employee ID <i>i</i>, the amount of sales <i>q</i> and the corresponding unit price <i>p</i>. Then, the program ...
4 1001 2000 520 1002 1800 450 1003 1600 625 1001 200 1220 2 1001 100 3 1005 1000 100 2 2013 5000 100 2013 5000 100 0
1001 1003 NA 2013
13,129
s424158078
p00100
u090921599
1563713205
Python
Python3
py
Accepted
30
5828
403
while True: n = int(input()) if n == 0: break id = [] pq = [-1] * 4001 for i in range(n): e,p,q = list(map(int,input().split())) if pq[e] < 0: id.append(e) pq[e] = p*q else: pq[e] += p*q f = False for e in id: if pq[e] >=10...
p00100
<H1>Sale Result</H1> <p> There is data on sales of your company. Your task is to write a program which identifies good workers. </p> <p> The program should read a list of data where each item includes the employee ID <i>i</i>, the amount of sales <i>q</i> and the corresponding unit price <i>p</i>. Then, the program ...
4 1001 2000 520 1002 1800 450 1003 1600 625 1001 200 1220 2 1001 100 3 1005 1000 100 2 2013 5000 100 2013 5000 100 0
1001 1003 NA 2013
13,130
s528795613
p00100
u051789695
1562761163
Python
Python3
py
Accepted
30
5832
375
while True: n=int(input()) if n==0: break s=[-1]*4001 id=[] for i in range(n): e,p,q=map(int,input().split()) if s[e]<0: id.append(e) s[e]=p*q else: s[e]+=p*q ch=True for i in id: if s[i]>=1000000: print(...
p00100
<H1>Sale Result</H1> <p> There is data on sales of your company. Your task is to write a program which identifies good workers. </p> <p> The program should read a list of data where each item includes the employee ID <i>i</i>, the amount of sales <i>q</i> and the corresponding unit price <i>p</i>. Then, the program ...
4 1001 2000 520 1002 1800 450 1003 1600 625 1001 200 1220 2 1001 100 3 1005 1000 100 2 2013 5000 100 2013 5000 100 0
1001 1003 NA 2013
13,131
s401463361
p00100
u089486079
1561529069
Python
Python3
py
Accepted
40
5832
463
while True: n = int(input()) if n == 0: break save_list=[0]*4001 display_list = [] for i in range(n): a,b,c = map(int, input().split()) save_list[a] += b * c if a not in display_list: display_list.append(a) ans = [] for i in display_list: ...
p00100
<H1>Sale Result</H1> <p> There is data on sales of your company. Your task is to write a program which identifies good workers. </p> <p> The program should read a list of data where each item includes the employee ID <i>i</i>, the amount of sales <i>q</i> and the corresponding unit price <i>p</i>. Then, the program ...
4 1001 2000 520 1002 1800 450 1003 1600 625 1001 200 1220 2 1001 100 3 1005 1000 100 2 2013 5000 100 2013 5000 100 0
1001 1003 NA 2013
13,132
s494691519
p00100
u548252256
1560264053
Python
Python3
py
Accepted
40
5804
454
if __name__ == '__main__': while True: try: n = int(input()) if n == 0: break no = [] total = [] for i in range(n): e,p,q = map(int,input().split()) if e not in no: no.append(e) total.append(p*q) else: ind = no.index(e) total[ind] += p*q cnt = 0 for j,k in...
p00100
<H1>Sale Result</H1> <p> There is data on sales of your company. Your task is to write a program which identifies good workers. </p> <p> The program should read a list of data where each item includes the employee ID <i>i</i>, the amount of sales <i>q</i> and the corresponding unit price <i>p</i>. Then, the program ...
4 1001 2000 520 1002 1800 450 1003 1600 625 1001 200 1220 2 1001 100 3 1005 1000 100 2 2013 5000 100 2013 5000 100 0
1001 1003 NA 2013
13,133
s551665384
p00100
u647694976
1558601570
Python
Python3
py
Accepted
30
5828
403
while True: try: N=int(input()) if N==0:break ans=[] dic={} for i in range(N): e,p,q=map(int,input().split()) if e in dic:dic[e] +=p*q else:dic[e]=p*q for v,m in dic.items(): if m>=1000000:ans.append(v) if len(an...
p00100
<H1>Sale Result</H1> <p> There is data on sales of your company. Your task is to write a program which identifies good workers. </p> <p> The program should read a list of data where each item includes the employee ID <i>i</i>, the amount of sales <i>q</i> and the corresponding unit price <i>p</i>. Then, the program ...
4 1001 2000 520 1002 1800 450 1003 1600 625 1001 200 1220 2 1001 100 3 1005 1000 100 2 2013 5000 100 2013 5000 100 0
1001 1003 NA 2013
13,134
s250426318
p00100
u371539389
1558412935
Python
Python3
py
Accepted
30
5832
401
import sys while True: n=int(input()) score={} if n==0: sys.exit() for _ in range(n): e,p,q=[int(i) for i in input().split(" ")] score[e]=score.get(e,0)+p*q employee=[] for e in score: if score[e]>=1000000: employee.append(e) if len(employee)==0...
p00100
<H1>Sale Result</H1> <p> There is data on sales of your company. Your task is to write a program which identifies good workers. </p> <p> The program should read a list of data where each item includes the employee ID <i>i</i>, the amount of sales <i>q</i> and the corresponding unit price <i>p</i>. Then, the program ...
4 1001 2000 520 1002 1800 450 1003 1600 625 1001 200 1220 2 1001 100 3 1005 1000 100 2 2013 5000 100 2013 5000 100 0
1001 1003 NA 2013
13,135
s799484855
p00100
u990228206
1551700447
Python
Python3
py
Accepted
40
5828
442
while 1: n=int(input()) if n==0:break count=0 member=[0]*4001 mem_check=[] mem_check2=[] for i in range(n): e,p,q=map(int,input().split()) member[e]+=p*q mem_check.append(e) for i in mem_check: if not(i in mem_check2): if member[i]>=1000000: ...
p00100
<H1>Sale Result</H1> <p> There is data on sales of your company. Your task is to write a program which identifies good workers. </p> <p> The program should read a list of data where each item includes the employee ID <i>i</i>, the amount of sales <i>q</i> and the corresponding unit price <i>p</i>. Then, the program ...
4 1001 2000 520 1002 1800 450 1003 1600 625 1001 200 1220 2 1001 100 3 1005 1000 100 2 2013 5000 100 2013 5000 100 0
1001 1003 NA 2013
13,136
s347042723
p00100
u943441430
1545014238
Python
Python
py
Accepted
20
4884
731
import sys def sales_result(sales): total_sales = {} person = [] for s in sales: total_sales[s[0]] = total_sales.get(s[0], 0) total_sales[s[0]] += s[1] * s[2] if total_sales[s[0]] >= 1000000 and not (s[0] in person): person.append(s[0]) if len(person) == 0: p...
p00100
<H1>Sale Result</H1> <p> There is data on sales of your company. Your task is to write a program which identifies good workers. </p> <p> The program should read a list of data where each item includes the employee ID <i>i</i>, the amount of sales <i>q</i> and the corresponding unit price <i>p</i>. Then, the program ...
4 1001 2000 520 1002 1800 450 1003 1600 625 1001 200 1220 2 1001 100 3 1005 1000 100 2 2013 5000 100 2013 5000 100 0
1001 1003 NA 2013
13,137
s179966843
p00100
u024715419
1542175006
Python
Python3
py
Accepted
30
5824
438
while True: n = int(input()) if n == 0: break result = {} order = [] for i in range(n): e, p, q = map(int, input().split()) if e in result: result[e] += p*q else: result[e] = p*q order.append(e) flag = True for e_i in order:...
p00100
<H1>Sale Result</H1> <p> There is data on sales of your company. Your task is to write a program which identifies good workers. </p> <p> The program should read a list of data where each item includes the employee ID <i>i</i>, the amount of sales <i>q</i> and the corresponding unit price <i>p</i>. Then, the program ...
4 1001 2000 520 1002 1800 450 1003 1600 625 1001 200 1220 2 1001 100 3 1005 1000 100 2 2013 5000 100 2013 5000 100 0
1001 1003 NA 2013
13,138
s795692563
p00100
u219940997
1539000793
Python
Python3
py
Accepted
30
5716
456
while True: n = int(input()) if n == 0: break personel = {} for _ in range(n): e, p, q = input().split() if e in personel.keys(): personel[e] += int(p) * int(q) else: personel[e] = int(p) * int(q) result = [] for key, val in personel.items(): ...
p00100
<H1>Sale Result</H1> <p> There is data on sales of your company. Your task is to write a program which identifies good workers. </p> <p> The program should read a list of data where each item includes the employee ID <i>i</i>, the amount of sales <i>q</i> and the corresponding unit price <i>p</i>. Then, the program ...
4 1001 2000 520 1002 1800 450 1003 1600 625 1001 200 1220 2 1001 100 3 1005 1000 100 2 2013 5000 100 2013 5000 100 0
1001 1003 NA 2013
13,139
s398608758
p00100
u316584871
1537081216
Python
Python3
py
Accepted
30
5828
398
n = int(input()) while (n != 0): e_ab = {} for i in range(n): e,a,b = map(int, input().split()) ab = a*b if (e not in e_ab.keys()): e_ab[e] = ab else: e_ab[e] += ab c = 0 for e,ab in e_ab.items(): if (ab >= 10**6): c += 1 ...
p00100
<H1>Sale Result</H1> <p> There is data on sales of your company. Your task is to write a program which identifies good workers. </p> <p> The program should read a list of data where each item includes the employee ID <i>i</i>, the amount of sales <i>q</i> and the corresponding unit price <i>p</i>. Then, the program ...
4 1001 2000 520 1002 1800 450 1003 1600 625 1001 200 1220 2 1001 100 3 1005 1000 100 2 2013 5000 100 2013 5000 100 0
1001 1003 NA 2013
13,140
s407113538
p00100
u103916545
1536118599
Python
Python3
py
Accepted
40
5768
561
p = [] q = [] while True: n = int(input()) m = 0 number = [0] * 4000 if n == 0: break else: for i in range(n): p.append(i) q.append(i) e,p[i],q[i] = [int(s) for s in input().split(' ')] if number[e] >= 1000000: break ...
p00100
<H1>Sale Result</H1> <p> There is data on sales of your company. Your task is to write a program which identifies good workers. </p> <p> The program should read a list of data where each item includes the employee ID <i>i</i>, the amount of sales <i>q</i> and the corresponding unit price <i>p</i>. Then, the program ...
4 1001 2000 520 1002 1800 450 1003 1600 625 1001 200 1220 2 1001 100 3 1005 1000 100 2 2013 5000 100 2013 5000 100 0
1001 1003 NA 2013
13,141
s962184273
p00100
u197615397
1533046130
Python
Python3
py
Accepted
40
6136
319
from collections import Counter while True: n = int(input()) if n == 0: break counter = Counter() for _ in [0]*n: a, b, c = map(int, input().split()) counter[a] += b*c result = [str(k) for k, v in counter.items() if v >= 1000000] or ["NA"] print("\n".join(result))
p00100
<H1>Sale Result</H1> <p> There is data on sales of your company. Your task is to write a program which identifies good workers. </p> <p> The program should read a list of data where each item includes the employee ID <i>i</i>, the amount of sales <i>q</i> and the corresponding unit price <i>p</i>. Then, the program ...
4 1001 2000 520 1002 1800 450 1003 1600 625 1001 200 1220 2 1001 100 3 1005 1000 100 2 2013 5000 100 2013 5000 100 0
1001 1003 NA 2013
13,142
s709881206
p00101
u103916545
1535532128
Python
Python3
py
Accepted
20
5600
162
n = int(input()) t = [] for i in range(n): t.append(i) t[i] = input() t[i] = t[i].replace('Hoshino','Hoshina') for i in range(n): print(t[i])
p00101
<H1>Aizu PR</H1> <p> An English booklet has been created for publicizing Aizu to the world. When you read it carefully, you found a misnomer (an error in writing) on the last name of Masayuki Hoshina, the lord of the Aizu domain. The booklet says "Hoshino" not "Hoshina". </p> <p> Your task is to write a program whic...
3 Hoshino Hashino Masayuki Hoshino was the grandson of Ieyasu Tokugawa.
Hoshina Hashino Masayuki Hoshina was the grandson of Ieyasu Tokugawa.
13,143
s488320142
p00101
u314832372
1551251533
Python
Python3
py
Accepted
20
5592
187
var1 = int(input()) str2 = "Hoshino" str3 = "Hoshina" for i in range(0, var1): str1 = input() if str1.find(str2) >= 0: str1 = str1.replace(str2, str3) print(str1)
p00101
<H1>Aizu PR</H1> <p> An English booklet has been created for publicizing Aizu to the world. When you read it carefully, you found a misnomer (an error in writing) on the last name of Masayuki Hoshina, the lord of the Aizu domain. The booklet says "Hoshino" not "Hoshina". </p> <p> Your task is to write a program whic...
3 Hoshino Hashino Masayuki Hoshino was the grandson of Ieyasu Tokugawa.
Hoshina Hashino Masayuki Hoshina was the grandson of Ieyasu Tokugawa.
13,144
s780326444
p00101
u689047545
1556434220
Python
Python3
py
Accepted
20
5588
95
n = int(input()) for i in range(n): s = input() print(s.replace('Hoshino', 'Hoshina'))
p00101
<H1>Aizu PR</H1> <p> An English booklet has been created for publicizing Aizu to the world. When you read it carefully, you found a misnomer (an error in writing) on the last name of Masayuki Hoshina, the lord of the Aizu domain. The booklet says "Hoshino" not "Hoshina". </p> <p> Your task is to write a program whic...
3 Hoshino Hashino Masayuki Hoshino was the grandson of Ieyasu Tokugawa.
Hoshina Hashino Masayuki Hoshina was the grandson of Ieyasu Tokugawa.
13,145
s575255730
p00101
u470372325
1556548260
Python
Python3
py
Accepted
20
5580
92
n = int(input()) for _ in range(n): s = input() print(s.replace('Hoshino', 'Hoshina'))
p00101
<H1>Aizu PR</H1> <p> An English booklet has been created for publicizing Aizu to the world. When you read it carefully, you found a misnomer (an error in writing) on the last name of Masayuki Hoshina, the lord of the Aizu domain. The booklet says "Hoshino" not "Hoshina". </p> <p> Your task is to write a program whic...
3 Hoshino Hashino Masayuki Hoshino was the grandson of Ieyasu Tokugawa.
Hoshina Hashino Masayuki Hoshina was the grandson of Ieyasu Tokugawa.
13,146
s174842468
p00101
u051394180
1559188512
Python
Python
py
Accepted
10
4620
82
for i in range(int(input())): print raw_input().replace('Hoshino', 'Hoshina')
p00101
<H1>Aizu PR</H1> <p> An English booklet has been created for publicizing Aizu to the world. When you read it carefully, you found a misnomer (an error in writing) on the last name of Masayuki Hoshina, the lord of the Aizu domain. The booklet says "Hoshino" not "Hoshina". </p> <p> Your task is to write a program whic...
3 Hoshino Hashino Masayuki Hoshino was the grandson of Ieyasu Tokugawa.
Hoshina Hashino Masayuki Hoshina was the grandson of Ieyasu Tokugawa.
13,147
s364609562
p00101
u051394180
1559188747
Python
Python3
py
Accepted
20
5576
79
for i in range(int(input())): print(input().replace('Hoshino', 'Hoshina'))
p00101
<H1>Aizu PR</H1> <p> An English booklet has been created for publicizing Aizu to the world. When you read it carefully, you found a misnomer (an error in writing) on the last name of Masayuki Hoshina, the lord of the Aizu domain. The booklet says "Hoshino" not "Hoshina". </p> <p> Your task is to write a program whic...
3 Hoshino Hashino Masayuki Hoshino was the grandson of Ieyasu Tokugawa.
Hoshina Hashino Masayuki Hoshina was the grandson of Ieyasu Tokugawa.
13,148
s716722129
p00101
u555040407
1559368503
Python
Python3
py
Accepted
20
5576
78
for i in range(int(input())): print(input().replace("Hoshino","Hoshina"))
p00101
<H1>Aizu PR</H1> <p> An English booklet has been created for publicizing Aizu to the world. When you read it carefully, you found a misnomer (an error in writing) on the last name of Masayuki Hoshina, the lord of the Aizu domain. The booklet says "Hoshino" not "Hoshina". </p> <p> Your task is to write a program whic...
3 Hoshino Hashino Masayuki Hoshino was the grandson of Ieyasu Tokugawa.
Hoshina Hashino Masayuki Hoshina was the grandson of Ieyasu Tokugawa.
13,149
s292710750
p00101
u555040407
1559368703
Python
Python3
py
Accepted
20
5596
75
[print(input().replace("Hoshino","Hoshina")) for i in range(int(input()))]
p00101
<H1>Aizu PR</H1> <p> An English booklet has been created for publicizing Aizu to the world. When you read it carefully, you found a misnomer (an error in writing) on the last name of Masayuki Hoshina, the lord of the Aizu domain. The booklet says "Hoshino" not "Hoshina". </p> <p> Your task is to write a program whic...
3 Hoshino Hashino Masayuki Hoshino was the grandson of Ieyasu Tokugawa.
Hoshina Hashino Masayuki Hoshina was the grandson of Ieyasu Tokugawa.
13,150
s928604495
p00101
u555040407
1559368753
Python
Python3
py
Accepted
20
5588
76
[print(input().replace("Hoshino","Hoshina")) for __ in range(int(input()))]
p00101
<H1>Aizu PR</H1> <p> An English booklet has been created for publicizing Aizu to the world. When you read it carefully, you found a misnomer (an error in writing) on the last name of Masayuki Hoshina, the lord of the Aizu domain. The booklet says "Hoshino" not "Hoshina". </p> <p> Your task is to write a program whic...
3 Hoshino Hashino Masayuki Hoshino was the grandson of Ieyasu Tokugawa.
Hoshina Hashino Masayuki Hoshina was the grandson of Ieyasu Tokugawa.
13,151
s645005801
p00101
u555040407
1559371783
Python
Python3
py
Accepted
60
5600
954
n = int(input()) for __ in range(n): sentence = input() length = 0 while True: try: sentence[length] length += 1 except: break for i in range(length-6): if sentence[i] == "H": if sentence[i+1] == "o": if sente...
p00101
<H1>Aizu PR</H1> <p> An English booklet has been created for publicizing Aizu to the world. When you read it carefully, you found a misnomer (an error in writing) on the last name of Masayuki Hoshina, the lord of the Aizu domain. The booklet says "Hoshino" not "Hoshina". </p> <p> Your task is to write a program whic...
3 Hoshino Hashino Masayuki Hoshino was the grandson of Ieyasu Tokugawa.
Hoshina Hashino Masayuki Hoshina was the grandson of Ieyasu Tokugawa.
13,152
s934258236
p00101
u899060994
1409294846
Python
Python
py
Accepted
10
4180
112
n = int(raw_input()) for i in range(n): text = raw_input().replace('Hoshino','Hoshina') print text
p00101
<H1>Aizu PR</H1> <p> An English booklet has been created for publicizing Aizu to the world. When you read it carefully, you found a misnomer (an error in writing) on the last name of Masayuki Hoshina, the lord of the Aizu domain. The booklet says "Hoshino" not "Hoshina". </p> <p> Your task is to write a program whic...
3 Hoshino Hashino Masayuki Hoshino was the grandson of Ieyasu Tokugawa.
Hoshina Hashino Masayuki Hoshina was the grandson of Ieyasu Tokugawa.
13,153
s658973679
p00101
u585391547
1412459457
Python
Python3
py
Accepted
30
6716
78
n=int(input()) for i in range(n): print(input().replace("Hoshino","Hoshina"))
p00101
<H1>Aizu PR</H1> <p> An English booklet has been created for publicizing Aizu to the world. When you read it carefully, you found a misnomer (an error in writing) on the last name of Masayuki Hoshina, the lord of the Aizu domain. The booklet says "Hoshino" not "Hoshina". </p> <p> Your task is to write a program whic...
3 Hoshino Hashino Masayuki Hoshino was the grandson of Ieyasu Tokugawa.
Hoshina Hashino Masayuki Hoshina was the grandson of Ieyasu Tokugawa.
13,154
s409017947
p00101
u912237403
1414576915
Python
Python
py
Accepted
10
4184
71
for _ in range(input()): print raw_input().replace("Hoshino","Hoshina")
p00101
<H1>Aizu PR</H1> <p> An English booklet has been created for publicizing Aizu to the world. When you read it carefully, you found a misnomer (an error in writing) on the last name of Masayuki Hoshina, the lord of the Aizu domain. The booklet says "Hoshino" not "Hoshina". </p> <p> Your task is to write a program whic...
3 Hoshino Hashino Masayuki Hoshino was the grandson of Ieyasu Tokugawa.
Hoshina Hashino Masayuki Hoshina was the grandson of Ieyasu Tokugawa.
13,155
s650627973
p00101
u912237403
1414577912
Python
Python
py
Accepted
10
4188
78
H='Hoshin' n=input() for s in range(n): print raw_input().replace(H+'o',H+'a')
p00101
<H1>Aizu PR</H1> <p> An English booklet has been created for publicizing Aizu to the world. When you read it carefully, you found a misnomer (an error in writing) on the last name of Masayuki Hoshina, the lord of the Aizu domain. The booklet says "Hoshino" not "Hoshina". </p> <p> Your task is to write a program whic...
3 Hoshino Hashino Masayuki Hoshino was the grandson of Ieyasu Tokugawa.
Hoshina Hashino Masayuki Hoshina was the grandson of Ieyasu Tokugawa.
13,156
s587842379
p00101
u672822075
1419283646
Python
Python3
py
Accepted
30
6716
78
n=int(input()) for _ in range(n): print(input().replace("Hoshino","Hoshina"))
p00101
<H1>Aizu PR</H1> <p> An English booklet has been created for publicizing Aizu to the world. When you read it carefully, you found a misnomer (an error in writing) on the last name of Masayuki Hoshina, the lord of the Aizu domain. The booklet says "Hoshino" not "Hoshina". </p> <p> Your task is to write a program whic...
3 Hoshino Hashino Masayuki Hoshino was the grandson of Ieyasu Tokugawa.
Hoshina Hashino Masayuki Hoshina was the grandson of Ieyasu Tokugawa.
13,157
s071245248
p00101
u014849532
1420124258
Python
Python3
py
Accepted
30
6724
93
#!/usr/bin/python3 for i in range(int(input())): print(input().replace('Hoshino', 'Hoshina'))
p00101
<H1>Aizu PR</H1> <p> An English booklet has been created for publicizing Aizu to the world. When you read it carefully, you found a misnomer (an error in writing) on the last name of Masayuki Hoshina, the lord of the Aizu domain. The booklet says "Hoshino" not "Hoshina". </p> <p> Your task is to write a program whic...
3 Hoshino Hashino Masayuki Hoshino was the grandson of Ieyasu Tokugawa.
Hoshina Hashino Masayuki Hoshina was the grandson of Ieyasu Tokugawa.
13,158
s669914513
p00101
u586434734
1421334424
Python
Python
py
Accepted
10
4196
346
#!/usr/bin/python # -*- coding: utf-8 -*- def main(): # 入力 N = int(raw_input()) inp = [] for x in range(N): input_list = raw_input() inp.append(input_list) # 文字列置換 for x in inp: replaced = x.replace("Hoshino", "Hoshina") print(replaced) if __name__=='__main__'...
p00101
<H1>Aizu PR</H1> <p> An English booklet has been created for publicizing Aizu to the world. When you read it carefully, you found a misnomer (an error in writing) on the last name of Masayuki Hoshina, the lord of the Aizu domain. The booklet says "Hoshino" not "Hoshina". </p> <p> Your task is to write a program whic...
3 Hoshino Hashino Masayuki Hoshino was the grandson of Ieyasu Tokugawa.
Hoshina Hashino Masayuki Hoshina was the grandson of Ieyasu Tokugawa.
13,159
s475533096
p00101
u266872031
1422196118
Python
Python
py
Accepted
10
4228
226
n=int(raw_input()) for i in range(n): w=raw_input() if len(w)<7: print w else: for i in range(len(w)-6): if w[i:i+7]=="Hoshino": w=w[:i]+"Hoshina"+w[i+7:] print w
p00101
<H1>Aizu PR</H1> <p> An English booklet has been created for publicizing Aizu to the world. When you read it carefully, you found a misnomer (an error in writing) on the last name of Masayuki Hoshina, the lord of the Aizu domain. The booklet says "Hoshino" not "Hoshina". </p> <p> Your task is to write a program whic...
3 Hoshino Hashino Masayuki Hoshino was the grandson of Ieyasu Tokugawa.
Hoshina Hashino Masayuki Hoshina was the grandson of Ieyasu Tokugawa.
13,160
s946571906
p00101
u040533857
1426040848
Python
Python3
py
Accepted
30
6720
126
n=int(input()) paper=[] for i in range(n): paper.append(input().replace('Hoshino','Hoshina')) for i in paper: print(i)
p00101
<H1>Aizu PR</H1> <p> An English booklet has been created for publicizing Aizu to the world. When you read it carefully, you found a misnomer (an error in writing) on the last name of Masayuki Hoshina, the lord of the Aizu domain. The booklet says "Hoshino" not "Hoshina". </p> <p> Your task is to write a program whic...
3 Hoshino Hashino Masayuki Hoshino was the grandson of Ieyasu Tokugawa.
Hoshina Hashino Masayuki Hoshina was the grandson of Ieyasu Tokugawa.
13,161
s808090907
p00101
u040533857
1426041086
Python
Python3
py
Accepted
30
6720
77
for i in range(int(input())): print(input().replace('Hoshino','Hoshina'))
p00101
<H1>Aizu PR</H1> <p> An English booklet has been created for publicizing Aizu to the world. When you read it carefully, you found a misnomer (an error in writing) on the last name of Masayuki Hoshina, the lord of the Aizu domain. The booklet says "Hoshino" not "Hoshina". </p> <p> Your task is to write a program whic...
3 Hoshino Hashino Masayuki Hoshino was the grandson of Ieyasu Tokugawa.
Hoshina Hashino Masayuki Hoshina was the grandson of Ieyasu Tokugawa.
13,162
s884208802
p00101
u580607517
1427630145
Python
Python
py
Accepted
10
4188
104
n = int(raw_input()) for i in [raw_input().replace("Hoshino", "Hoshina") for i in range(n)]: print i
p00101
<H1>Aizu PR</H1> <p> An English booklet has been created for publicizing Aizu to the world. When you read it carefully, you found a misnomer (an error in writing) on the last name of Masayuki Hoshina, the lord of the Aizu domain. The booklet says "Hoshino" not "Hoshina". </p> <p> Your task is to write a program whic...
3 Hoshino Hashino Masayuki Hoshino was the grandson of Ieyasu Tokugawa.
Hoshina Hashino Masayuki Hoshina was the grandson of Ieyasu Tokugawa.
13,163
s921617710
p00101
u879226672
1428227352
Python
Python
py
Accepted
20
4184
90
n = int(raw_input()) for i in range(n): print raw_input().replace('Hoshino','Hoshina')
p00101
<H1>Aizu PR</H1> <p> An English booklet has been created for publicizing Aizu to the world. When you read it carefully, you found a misnomer (an error in writing) on the last name of Masayuki Hoshina, the lord of the Aizu domain. The booklet says "Hoshino" not "Hoshina". </p> <p> Your task is to write a program whic...
3 Hoshino Hashino Masayuki Hoshino was the grandson of Ieyasu Tokugawa.
Hoshina Hashino Masayuki Hoshina was the grandson of Ieyasu Tokugawa.
13,164
s932160453
p00101
u162387221
1431513421
Python
Python
py
Accepted
20
4184
76
for i in range(input()): print raw_input().replace('Hoshino', 'Hoshina')
p00101
<H1>Aizu PR</H1> <p> An English booklet has been created for publicizing Aizu to the world. When you read it carefully, you found a misnomer (an error in writing) on the last name of Masayuki Hoshina, the lord of the Aizu domain. The booklet says "Hoshino" not "Hoshina". </p> <p> Your task is to write a program whic...
3 Hoshino Hashino Masayuki Hoshino was the grandson of Ieyasu Tokugawa.
Hoshina Hashino Masayuki Hoshina was the grandson of Ieyasu Tokugawa.
13,165
s416127725
p00101
u379499530
1432094910
Python
Python
py
Accepted
10
4188
72
for i in range(input()): print raw_input().replace("Hoshino", "Hoshina")
p00101
<H1>Aizu PR</H1> <p> An English booklet has been created for publicizing Aizu to the world. When you read it carefully, you found a misnomer (an error in writing) on the last name of Masayuki Hoshina, the lord of the Aizu domain. The booklet says "Hoshino" not "Hoshina". </p> <p> Your task is to write a program whic...
3 Hoshino Hashino Masayuki Hoshino was the grandson of Ieyasu Tokugawa.
Hoshina Hashino Masayuki Hoshina was the grandson of Ieyasu Tokugawa.
13,166
s774078696
p00101
u308369184
1433747698
Python
Python3
py
Accepted
30
6720
81
n=int(input()) for i in range(n): print(input().replace("Hoshino","Hoshina"))
p00101
<H1>Aizu PR</H1> <p> An English booklet has been created for publicizing Aizu to the world. When you read it carefully, you found a misnomer (an error in writing) on the last name of Masayuki Hoshina, the lord of the Aizu domain. The booklet says "Hoshino" not "Hoshina". </p> <p> Your task is to write a program whic...
3 Hoshino Hashino Masayuki Hoshino was the grandson of Ieyasu Tokugawa.
Hoshina Hashino Masayuki Hoshina was the grandson of Ieyasu Tokugawa.
13,167
s425154181
p00101
u873482706
1435140907
Python
Python
py
Accepted
20
4208
381
N = int(raw_input()) for i in range(N): lis = raw_input().split(' ') ans = [] for st in lis: if 'Hoshino' in st: while 'Hoshino' in st: s = st.find('Hoshino') st = st[:s]+'Hoshina'+st[s+7:] else: ans.append(st) else: ...
p00101
<H1>Aizu PR</H1> <p> An English booklet has been created for publicizing Aizu to the world. When you read it carefully, you found a misnomer (an error in writing) on the last name of Masayuki Hoshina, the lord of the Aizu domain. The booklet says "Hoshino" not "Hoshina". </p> <p> Your task is to write a program whic...
3 Hoshino Hashino Masayuki Hoshino was the grandson of Ieyasu Tokugawa.
Hoshina Hashino Masayuki Hoshina was the grandson of Ieyasu Tokugawa.
13,168
s290425440
p00101
u467929102
1440402658
Python
Python
py
Accepted
10
6240
127
n = int(raw_input()) for i in range(n): input = raw_input() input = input.replace("Hoshino", "Hoshina") print input
p00101
<H1>Aizu PR</H1> <p> An English booklet has been created for publicizing Aizu to the world. When you read it carefully, you found a misnomer (an error in writing) on the last name of Masayuki Hoshina, the lord of the Aizu domain. The booklet says "Hoshino" not "Hoshina". </p> <p> Your task is to write a program whic...
3 Hoshino Hashino Masayuki Hoshino was the grandson of Ieyasu Tokugawa.
Hoshina Hashino Masayuki Hoshina was the grandson of Ieyasu Tokugawa.
13,169
s021004534
p00101
u472944603
1441372002
Python
Python
py
Accepted
10
6368
117
n = int(raw_input()) for i in range(n): S = raw_input() R = S.replace('Hoshino', 'Hoshina') print R
p00101
<H1>Aizu PR</H1> <p> An English booklet has been created for publicizing Aizu to the world. When you read it carefully, you found a misnomer (an error in writing) on the last name of Masayuki Hoshina, the lord of the Aizu domain. The booklet says "Hoshino" not "Hoshina". </p> <p> Your task is to write a program whic...
3 Hoshino Hashino Masayuki Hoshino was the grandson of Ieyasu Tokugawa.
Hoshina Hashino Masayuki Hoshina was the grandson of Ieyasu Tokugawa.
13,170
s675315007
p00101
u472944603
1450396874
Python
Python
py
Accepted
10
6264
97
n = int(input()) for i in range(n): L = raw_input() print L.replace("Hoshino", "Hoshina")
p00101
<H1>Aizu PR</H1> <p> An English booklet has been created for publicizing Aizu to the world. When you read it carefully, you found a misnomer (an error in writing) on the last name of Masayuki Hoshina, the lord of the Aizu domain. The booklet says "Hoshino" not "Hoshina". </p> <p> Your task is to write a program whic...
3 Hoshino Hashino Masayuki Hoshino was the grandson of Ieyasu Tokugawa.
Hoshina Hashino Masayuki Hoshina was the grandson of Ieyasu Tokugawa.
13,171
s371713070
p00101
u377789069
1450837538
Python
Python
py
Accepted
10
6348
88
n = int(raw_input()) for r in range(n): print raw_input().replace("Hoshino", "Hoshina")
p00101
<H1>Aizu PR</H1> <p> An English booklet has been created for publicizing Aizu to the world. When you read it carefully, you found a misnomer (an error in writing) on the last name of Masayuki Hoshina, the lord of the Aizu domain. The booklet says "Hoshino" not "Hoshina". </p> <p> Your task is to write a program whic...
3 Hoshino Hashino Masayuki Hoshino was the grandson of Ieyasu Tokugawa.
Hoshina Hashino Masayuki Hoshina was the grandson of Ieyasu Tokugawa.
13,172
s278064923
p00101
u775586391
1451495510
Python
Python3
py
Accepted
20
7588
97
n = int(input()) for i in range(n): a = input() a = a.replace('Hoshino','Hoshina') print(a)
p00101
<H1>Aizu PR</H1> <p> An English booklet has been created for publicizing Aizu to the world. When you read it carefully, you found a misnomer (an error in writing) on the last name of Masayuki Hoshina, the lord of the Aizu domain. The booklet says "Hoshino" not "Hoshina". </p> <p> Your task is to write a program whic...
3 Hoshino Hashino Masayuki Hoshino was the grandson of Ieyasu Tokugawa.
Hoshina Hashino Masayuki Hoshina was the grandson of Ieyasu Tokugawa.
13,173
s602262278
p00101
u873482706
1452006118
Python
Python3
py
Accepted
20
7644
78
for i in range(int(input())): print(input().replace('Hoshino', 'Hoshina'))
p00101
<H1>Aizu PR</H1> <p> An English booklet has been created for publicizing Aizu to the world. When you read it carefully, you found a misnomer (an error in writing) on the last name of Masayuki Hoshina, the lord of the Aizu domain. The booklet says "Hoshino" not "Hoshina". </p> <p> Your task is to write a program whic...
3 Hoshino Hashino Masayuki Hoshino was the grandson of Ieyasu Tokugawa.
Hoshina Hashino Masayuki Hoshina was the grandson of Ieyasu Tokugawa.
13,174
s312704590
p00101
u463990569
1452928614
Python
Python3
py
Accepted
20
7604
144
while True: try: num = int(input()) except: break [print(input().replace('Hoshino', 'Hoshina')) for _ in range(num)]
p00101
<H1>Aizu PR</H1> <p> An English booklet has been created for publicizing Aizu to the world. When you read it carefully, you found a misnomer (an error in writing) on the last name of Masayuki Hoshina, the lord of the Aizu domain. The booklet says "Hoshino" not "Hoshina". </p> <p> Your task is to write a program whic...
3 Hoshino Hashino Masayuki Hoshino was the grandson of Ieyasu Tokugawa.
Hoshina Hashino Masayuki Hoshina was the grandson of Ieyasu Tokugawa.
13,175
s384086941
p00101
u463990569
1452928742
Python
Python3
py
Accepted
50
7676
75
[print(input().replace('Hoshino', 'Hoshina')) for _ in range(int(input()))]
p00101
<H1>Aizu PR</H1> <p> An English booklet has been created for publicizing Aizu to the world. When you read it carefully, you found a misnomer (an error in writing) on the last name of Masayuki Hoshina, the lord of the Aizu domain. The booklet says "Hoshino" not "Hoshina". </p> <p> Your task is to write a program whic...
3 Hoshino Hashino Masayuki Hoshino was the grandson of Ieyasu Tokugawa.
Hoshina Hashino Masayuki Hoshina was the grandson of Ieyasu Tokugawa.
13,176
s509849775
p00101
u463990569
1452928770
Python
Python3
py
Accepted
20
7648
75
[print(input().replace('Hoshino', 'Hoshina')) for _ in range(int(input()))]
p00101
<H1>Aizu PR</H1> <p> An English booklet has been created for publicizing Aizu to the world. When you read it carefully, you found a misnomer (an error in writing) on the last name of Masayuki Hoshina, the lord of the Aizu domain. The booklet says "Hoshino" not "Hoshina". </p> <p> Your task is to write a program whic...
3 Hoshino Hashino Masayuki Hoshino was the grandson of Ieyasu Tokugawa.
Hoshina Hashino Masayuki Hoshina was the grandson of Ieyasu Tokugawa.
13,177
s085497007
p00101
u148101999
1463724411
Python
Python
py
Accepted
10
6392
72
for i in xrange(input()): print raw_input().replace("Hoshino","Hoshina")
p00101
<H1>Aizu PR</H1> <p> An English booklet has been created for publicizing Aizu to the world. When you read it carefully, you found a misnomer (an error in writing) on the last name of Masayuki Hoshina, the lord of the Aizu domain. The booklet says "Hoshino" not "Hoshina". </p> <p> Your task is to write a program whic...
3 Hoshino Hashino Masayuki Hoshino was the grandson of Ieyasu Tokugawa.
Hoshina Hashino Masayuki Hoshina was the grandson of Ieyasu Tokugawa.
13,178
s130126004
p00101
u203261375
1466566604
Python
Python3
py
Accepted
20
7536
87
for i in range(int(input())): s = input().replace("Hoshino","Hoshina") print(s)
p00101
<H1>Aizu PR</H1> <p> An English booklet has been created for publicizing Aizu to the world. When you read it carefully, you found a misnomer (an error in writing) on the last name of Masayuki Hoshina, the lord of the Aizu domain. The booklet says "Hoshino" not "Hoshina". </p> <p> Your task is to write a program whic...
3 Hoshino Hashino Masayuki Hoshino was the grandson of Ieyasu Tokugawa.
Hoshina Hashino Masayuki Hoshina was the grandson of Ieyasu Tokugawa.
13,179
s969646902
p00101
u755162050
1468221527
Python
Python3
py
Accepted
20
7496
126
if __name__ == '__main__': n = input() for line in range(int(n)): print(input().replace('Hoshino', 'Hoshina'))
p00101
<H1>Aizu PR</H1> <p> An English booklet has been created for publicizing Aizu to the world. When you read it carefully, you found a misnomer (an error in writing) on the last name of Masayuki Hoshina, the lord of the Aizu domain. The booklet says "Hoshino" not "Hoshina". </p> <p> Your task is to write a program whic...
3 Hoshino Hashino Masayuki Hoshino was the grandson of Ieyasu Tokugawa.
Hoshina Hashino Masayuki Hoshina was the grandson of Ieyasu Tokugawa.
13,180
s357105025
p00101
u648595404
1469726553
Python
Python3
py
Accepted
30
7604
142
n = int(input()) for i in range(n): sentence = input() true_sentence = sentence.replace("Hoshino", "Hoshina") print(true_sentence)
p00101
<H1>Aizu PR</H1> <p> An English booklet has been created for publicizing Aizu to the world. When you read it carefully, you found a misnomer (an error in writing) on the last name of Masayuki Hoshina, the lord of the Aizu domain. The booklet says "Hoshino" not "Hoshina". </p> <p> Your task is to write a program whic...
3 Hoshino Hashino Masayuki Hoshino was the grandson of Ieyasu Tokugawa.
Hoshina Hashino Masayuki Hoshina was the grandson of Ieyasu Tokugawa.
13,181
s929373850
p00101
u589886885
1472129354
Python
Python3
py
Accepted
30
7328
102
import sys input() for i in sys.stdin.readlines(): print(i.replace('Hoshino', 'Hoshina'), end='')
p00101
<H1>Aizu PR</H1> <p> An English booklet has been created for publicizing Aizu to the world. When you read it carefully, you found a misnomer (an error in writing) on the last name of Masayuki Hoshina, the lord of the Aizu domain. The booklet says "Hoshino" not "Hoshina". </p> <p> Your task is to write a program whic...
3 Hoshino Hashino Masayuki Hoshino was the grandson of Ieyasu Tokugawa.
Hoshina Hashino Masayuki Hoshina was the grandson of Ieyasu Tokugawa.
13,182
s192412591
p00101
u894114233
1475290805
Python
Python
py
Accepted
10
6268
106
n=int(raw_input()) for i in xrange(n): s=raw_input() s=s.replace("Hoshino","Hoshina") print(s)
p00101
<H1>Aizu PR</H1> <p> An English booklet has been created for publicizing Aizu to the world. When you read it carefully, you found a misnomer (an error in writing) on the last name of Masayuki Hoshina, the lord of the Aizu domain. The booklet says "Hoshino" not "Hoshina". </p> <p> Your task is to write a program whic...
3 Hoshino Hashino Masayuki Hoshino was the grandson of Ieyasu Tokugawa.
Hoshina Hashino Masayuki Hoshina was the grandson of Ieyasu Tokugawa.
13,183
s487292416
p00101
u583097803
1475998221
Python
Python3
py
Accepted
30
7592
161
n=int(input()) s=[input() for i in range(n)] for i in range(n): if "Hoshino" in s[i]: s[i]=s[i].replace("Hoshino","Hoshina") for i in s: print(i)
p00101
<H1>Aizu PR</H1> <p> An English booklet has been created for publicizing Aizu to the world. When you read it carefully, you found a misnomer (an error in writing) on the last name of Masayuki Hoshina, the lord of the Aizu domain. The booklet says "Hoshino" not "Hoshina". </p> <p> Your task is to write a program whic...
3 Hoshino Hashino Masayuki Hoshino was the grandson of Ieyasu Tokugawa.
Hoshina Hashino Masayuki Hoshina was the grandson of Ieyasu Tokugawa.
13,184
s623328958
p00101
u073709667
1476555674
Python
Python3
py
Accepted
40
7512
157
words=[] num=int(input()) for i in range(num): words.append(i) words[i]=input().replace('Hoshino','Hoshina') for i in range(num): print(words[i])
p00101
<H1>Aizu PR</H1> <p> An English booklet has been created for publicizing Aizu to the world. When you read it carefully, you found a misnomer (an error in writing) on the last name of Masayuki Hoshina, the lord of the Aizu domain. The booklet says "Hoshino" not "Hoshina". </p> <p> Your task is to write a program whic...
3 Hoshino Hashino Masayuki Hoshino was the grandson of Ieyasu Tokugawa.
Hoshina Hashino Masayuki Hoshina was the grandson of Ieyasu Tokugawa.
13,185
s209424984
p00101
u073709667
1476555703
Python
Python3
py
Accepted
20
7636
157
words=[] num=int(input()) for i in range(num): words.append(i) words[i]=input().replace('Hoshino','Hoshina') for i in range(num): print(words[i])
p00101
<H1>Aizu PR</H1> <p> An English booklet has been created for publicizing Aizu to the world. When you read it carefully, you found a misnomer (an error in writing) on the last name of Masayuki Hoshina, the lord of the Aizu domain. The booklet says "Hoshino" not "Hoshina". </p> <p> Your task is to write a program whic...
3 Hoshino Hashino Masayuki Hoshino was the grandson of Ieyasu Tokugawa.
Hoshina Hashino Masayuki Hoshina was the grandson of Ieyasu Tokugawa.
13,186