Problem:


Score : 200 points

Problem Statement

Takahashi is participating in a programming contest called AXC002, and he has just submitted his code to Problem A.

The problem has N test cases.

For each test case i (1\leq i \leq N), you are given a string S_i representing the verdict for that test case. Find the numbers of test cases for which the verdict is AC, WA, TLE, and RE, respectively.

See the Output section for the output format.

Constraints

1 \leq N \leq 10^5

S_i is AC, WA, TLE, or RE.

Input

Input is given from Standard Input in the following format:

N
S_1
\vdots
S_N

Output

Let C_0, C_1, C_2, and C_3 be the numbers of test cases for which the verdict is AC, WA, TLE, and RE, respectively. Print the following:

AC x C_0
WA x C_1
TLE x C_2
RE x C_3

Sample Input 1

6
AC
TLE
AC
AC
WA
TLE

Sample Output 1

AC x 3
WA x 1
TLE x 2
RE x 0

We have 3, 1, 2, and 0 test case(s) for which the verdict is AC, WA, TLE, and RE, respectively.

Sample Input 2

10
AC
AC
AC
AC
AC
AC
AC
AC
AC
AC

Sample Output 2

AC x 10
WA x 0
TLE x 0
RE x 0



Sample input:
6
AC
TLE
AC
AC
WA
TLE


Sample output:
AC x 3
WA x 1
TLE x 2
RE x 0

Submission status: Wrong Answer

Solution code:
# listじゃなくてdict使いたい
n = int(input())
j = [0] * 4
for i in range(n):
    s=input()
    if s == "AC":
        j[0] += 1
    elif s=="WA":
        j[1] += 1
    elif s=="TLE":
        j[2] += 1
    elif s == "RE":
        j[3] += 1
for k in range(4):
    print(f"AC x {j[k]}")

Submission status: Wrong Answer

Solution code:
# listじゃなくてdict使いたい
n = int(input())
j = [0] * 4
for i in range(n):
    s=input()
    if s == "AC":
        j[0] += 1
    elif s=="WA":
        j[1] += 1
    elif s=="TLE":
        j[2] += 1
    elif s == "RE":
        j[3] += 1
for k in range(4):
    print(f"AC × {j[k]}")

Submission status: Wrong Answer

Solution code:
N = int(input())
con = [input() for i in range(N)]
C = [0,0,0,0]
for s in con:
    if(s == "AC"):
        C[0] +=1
    if(s == "WA"):
        C[1] +=1
    if(s == "TLE"):
        C[2] +=1
    if(s == "RE"):
        C[3] +=1
print("AC × ",C[0])
print("WA × ",C[1])
print("TLE × ",C[2])
print("RE × ",C[3])

Submission status: Wrong Answer

Solution code:
N = int(input())
con = [input() for i in range(N)]
C = [0,0,0,0]
for s in con:
    if(s == "AC"):
        C[0] +=1
    if(s == "WA"):
        C[1] +=1
    if(s == "TLE"):
        C[2] +=1
    if(s == "RE"):
        C[3] +=1
print("AC ×",C[0])
print("WA ×",C[1])
print("TLE ×",C[2])
print("RE ×",C[3])

Submission status: Wrong Answer

Solution code:
n = int(input())
result_dict = {'AC':0,'WA':0,'TLE':0,'RE':0}
for i in range(n):
    s = input()
    result_dict[s] += 1
 
print('AC'+' × '+str(result_dict['AC']))
print('WA'+' × '+str(result_dict['WA']))
print('TLE'+' × '+str(result_dict['TLE']))
print('RE'+' × '+str(result_dict['RE']))

Submission status: Wrong Answer

Solution code:
n = int(input())
AC = 0
WA = 0
TLE = 0
RE = 0
for i in range(n):
    s = input()
    if(s == "AC"):
        AC += 1
    elif(s == "WA"):
        WA += 1
    elif(s == "TLE"):
        TLE  += 1
    else:
        RE += 1
print('AC + {}'.format(AC))
print('WA + {}'.format(WA))
print('TLE + {}'.format(TLE))
print('RE + {}'.format(RE))

Submission status: Wrong Answer

Solution code:

n = int(input())

d = {"AC":0,"WA":0,"TLE":0,"RE":0}
for _ in range(n):
    st = input()
    d[st] += 1

for x,y in d.items():
    print(x,"×",y)

Submission status: Wrong Answer

Solution code:
n = int(input())
ac, wa, tle, re = 0, 0, 0, 0;

for i in range(n):
    s = input()
    if s == 'AC':
        ac += 1
    elif s == 'WA':
        wa += 1
    elif s == 'TLE':
        tle += 1
    else:
        re += 1

print('AC ×', ac)
print('WA ×', wa)
print('TLE ×', tle)
print('RE ×', re)

Submission status: Wrong Answer

Solution code:
N = int(input())
C = 0
D = 0
E = 0
F = 0
S = ''

for i in range(N):
    S = input()
    if S == 'AC':
        C += 1
    elif S == 'WA':
        D += 1
    elif S == 'TLE':
        E += 1
    elif S == 'RE':
        F += 1
print('AC × ',C)
print('WA × ',D)
print('TLE × ',E)
print('RE × ',F)

Submission status: Wrong Answer

Solution code:
N = int(input())
C = 0
D = 0
E = 0
F = 0
S = ''

for i in range(N):
    S = input()
    if S == 'AC':
        C += 1
    elif S == 'WA':
        D += 1
    elif S == 'TLE':
        E += 1
    elif S == 'RE':
        F += 1
print('AC ×',C)
print('WA ×',D)
print('TLE ×',E)
print('RE ×',F)

Submission status: Wrong Answer

Solution code:
N = int(input())
C = 0
D = 0
E = 0
F = 0
S = ''

for i in range(N):
    S = input()
    if S == 'AC':
        C += 1
    elif S == 'WA':
        D += 1
    elif S == 'TLE':
        E += 1
    elif S == 'RE':
        F += 1
print('AC × '+ str(C))
print('WA × '+ str(D))
print('TLE × '+ str(E))
print('RE × '+ str(F))

Submission status: Wrong Answer

Solution code:
n = int(input())
for _ in range(n) :
    l = list(input())
print('AC x ' + str(l.count('AC')))
print('WA x ' + str(l.count('WA')))
print('TLE x ' + str(l.count('TLE')))
print('RE x ' + str(l.count('RE')))

Submission status: Wrong Answer

Solution code:
n = int(input())
c0 = 0
c1 = 0
c2 = 0
c3 = 0

#縦に文字列を複数入力　＆　操作
for i in range(n):
    s = input()
    if s == "AC":
        c0 += 1
    if s == "WA":
        c1 += 1
    if s == "TLE":
        c2 += 1
    if s == "RE":
        c3 += 1    
        
print("AC " + "× " + str(c0))
print("WA " + "× " + str(c1))
print("TLE " + "× " + str(c2))
print("RE " + "× " + str(c3))

Submission status: Wrong Answer

Solution code:
n = int(input())
c0 = 0
c1 = 0
c2 = 0
c3 = 0

for i in range(n):
    s = input()
    if s == "AC":
        c0 += 1
    if s == "WA":
        c1 += 1
    if s == "TLE":
        c2 += 1
    if s == "RE":
        c3 += 1    
        
print("AC" + "×" + str(c0))
print("WA" + "×" + str(c1))
print("TLE" + "×" + str(c2))
print("RE" + "×" + str(c3))

Submission status: Wrong Answer

Solution code:
import collections
a = input()
N = int(a)
S = [input() for i in range(N)]

c = collections.Counter(S)

print('AC × %d' % c['AC'])
print('WA × %d' % c['WA'])
print('TLE × %d' % c['TLE'])
print('RE × %d' % c['RE'])

Submission status: Wrong Answer

Solution code:
N = int(input())
C = 0
D = 0
E = 0
F = 0
S = ''

for i in range(N):
    S = input()
    if S == 'AC':
        C += 1
    elif S == 'WA':
        D += 1
    elif S == 'TLE':
        E += 1
    elif S == 'RE':
        F += 1
print('AC × '+ str(C), 'WA × ' + str(D),  'TLE × ' + str(E),  'RE × ' + str(F), sep='\n')

Submission status: Wrong Answer

Solution code:
N = int(input())
C = 0
D = 0
E = 0
F = 0
S = ""

for i in range(N):
    S = input()
    if S == 'AC':
        C += 1
    elif S == 'WA':
        D += 1
    elif S == 'TLE':
        E += 1
    elif S == 'RE':
        F += 1
print('AC × '+ str(C), 'WA × ' + str(D),  'TLE × ' + str(E),  'RE × ' + str(F), sep='\n')

Submission status: Wrong Answer

Solution code:
N = int(input())
C = 0
D = 0
E = 0
F = 0
S = ""

for i in range(N):
    S = input()
    if S == 'AC':
        C += 1
    elif S == 'WA':
        D += 1
    elif S == 'TLE':
        E += 1
    elif S == 'RE':
        F += 1
print("AC × " + str(C), "WA × " + str(D),  "TLE × " + str(E),  "RE × " + str(F), sep='\n')

Submission status: Wrong Answer

Solution code:
n = int(input())
s = [input() for i in range(n)]

a = s.count("AC")
w = s.count("WA")
t = s.count("TLE")
r = s.count("RE")

print(f'AC × {a}')
print(f'WA × {w}')
print(f'TLE × {t}')
print(f'RE × {r}')

Submission status: Wrong Answer

Solution code:
n = int(input())
s = [input()for i in range(n)]

a = s.count("AC")
w = s.count("WA")
t = s.count("TLE")
r = s.count("RE")

print(f'AC × {a}')
print(f'WA × {w}')
print(f'TLE × {t}')
print(f'RE × {r}')

Submission status: Wrong Answer

Solution code:
n=int(input())
s=[input() for i in range(n)]
ac=s.count("AC")
wa=s.count("WA")
tle=s.count("TLE")
re=s.count("RE")

print("AC x"+str(ac))
print("WA x"+str(wa))
print("TLE x"+str(tle))
print("RE x"+str(re))

Submission status: Wrong Answer

Solution code:
import sys
read = sys.stdin.read
readline = sys.stdin.readline
readlines = sys.stdin.readlines
from collections import Counter
def main():
    n = int(input())
    d1 = {'AC':0, 'WA':0, 'TLE': 0,'RE':0}
    s = []
    for _ in range(n):
        s.append(input())
    sa = Counter(s)
    print(sa)
    for k, v in sa.items():
        d1[k] += v
    print('AC x', d1['AC'])
    print('WA x', d1['WA'])
    print('TLE x', d1['TLE'])
    print('RE x', d1['RE'])

if __name__ == '__main__':
    main()

Submission status: Wrong Answer

Solution code:
n = int(input())

a = 0
b = 0
c = 0
d = 0

for i in range(n):
    s = input()
    if s == 'AC':
        a += 1
    elif s == 'WA':
        b += 1
    elif s == 'TLE':
        c += 1
    else:
        d += 1
        
print('AC *', a)
print('WA *', b)
print('TLE *', c)
print('RE *', d)

Submission status: Wrong Answer

Solution code:
n = int(input())

a = 0
b = 0
c = 0
d = 0

for i in range(n):
    s = input()
    if s == 'AC':
        a += 1
    elif s == 'WA':
        b += 1
    elif s == 'TLE':
        c += 1
    else:
        d += 1
        
print('AC ×', a)
print('WA ×', b)
print('TLE ×', c)
print('RE ×', d)

Submission status: Wrong Answer

Solution code:
N = int(input())
C0 = C1 = C2 = C3 = 0
for _ in range(N):
    S = input()
    if S == "AC":
        C0 += 1
    elif S == "WA":
        C1 += 1
    elif S == "TLE":
        C2 += 1
    elif S == "RE":
        C3 += 1

print("AC × %d"%C0)
print("WA × %d"%C1)
print("TLE × %d"%C2)
print("RE × %d"%C3)

Submission status: Wrong Answer

Solution code:
N = int(input())
C0 = C1 = C2 = C3 = 0
for _ in range(N):
    S = input()
    if S == "AC":
        C0 += 1
    elif S == "WA":
        C1 += 1
    elif S == "TLE":
        C2 += 1
    elif S == "RE":
        C3 += 1

print("AC × %d",C0)
print("WA × %d",C1)
print("TLE × %d",C2)
print("RE × %d",C3)

Submission status: Wrong Answer

Solution code:
n = int(input())
dic = {"AC":0, "WA":0, "TLE":0, "RE":0}
for i in range(n):
  s = input()
  dic[s] += 1
print("AC x" + str(dic["AC"]))
print("WA x" + str(dic["WA"]))
print("TLE x" + str(dic["TLE"]))
print("RE x" + str(dic["RE"]))

Submission status: Wrong Answer

Solution code:
n = int(input())
a = 0
w = 0
t = 0
r = 0
for i in range(n):
  s = input()
  if s == 'AC':
    a+=1
  elif s =='WA':
    w +=1
  elif s =='TLE':
    t +=1
  else:
    r+=1
print('AC×'+str(a))
print('WA×'+str(w))
print('TLE×'+str(t))
print('RE×'+str(r))

Submission status: Wrong Answer

Solution code:
n = int(input())
a = 0
w = 0
t = 0
r = 0
for i in range(n):
  s = input()
  if s == 'AC':
    a+=1
  elif s =='WA':
    w +=1
  elif s =='TLE':
    t +=1
  else:
    r+=1
print('AC × '+str(a))
print('WA × '+str(w))
print('TLE × '+str(t))
print('RE × '+str(r))

Submission status: Wrong Answer

Solution code:
n = int(input())
S = []
for i in range(n):
    S.append(input())
cnt_ac = 0
cnt_tle = 0
cnt_wa = 0
cnt_re = 0


for i in range(n):
    if S[i] == "AC":
        cnt_ac += 1
    elif S[i] == "TLE":
        cnt_tle += 1
    elif S[i] == "WA":
        cnt_wa += 1
    elif S[i] == "RE":
        cnt_re += 1

print("AC x　" + str(cnt_ac))
print("WA x　" + str(cnt_wa))
print("TLE x　" + str(cnt_tle))
print("RE x　" + str(cnt_re))

Submission status: Wrong Answer

Solution code:
n = int(input())
S = []
for i in range(n):
    S.append(input())
cnt_ac = 0
cnt_tle = 0
cnt_wa = 0
cnt_re = 0


for i in range(n):
    if S[i] == "AC":
        cnt_ac += 1
    elif S[i] == "TLE":
        cnt_tle += 1
    elif S[i] == "WA":
        cnt_wa += 1
    elif S[i] == "RE":
        cnt_re += 1

print("AC ×　" + str(cnt_ac))
print("WA ×　" + str(cnt_wa))
print("TLE ×　" + str(cnt_tle))
print("RE ×　" + str(cnt_re))

Submission status: Wrong Answer

Solution code:
N = int(input())
S = [input() for _ in range(N)]
C0 = 0
C1 = 0
C2 = 0
C3 = 0
for i in range(N):
    if S[i] == "AC":
        C0 += 1
    elif S[i] == "WA":
        C1 += 1
    elif S[i] == "TLE":
        C2 += 1
    else:
        C3 += 1
print("AC x ", C0)
print("WA x ",C1)
print("TLE x ",C2)
print("RW x ",C3)

Submission status: Wrong Answer

Solution code:
def judge_status_summary():
    N = int(input())
    res = {"AC":0,"WA":0,"TLE":0,"RE":0}
    for i in range(N):
        res[input()] += 1
    
    for k in res:
        print("{} X {}".format(k,res[k]))
        
judge_status_summary()

Submission status: Wrong Answer

Solution code:
n = int(input())
s = [input() for i in range(n)]

c0 = 0
c1 = 0
c2 = 0
c3 = 0

for i in range(len(s)):
    if s[i] == "AC":
        c0 += 1
    elif s[i] == "WA":
        c1 += 1
    elif s[i] == "TLE":
        c2 += 1
    else:
        c3 += 2

print("AC x ", str(c0))
print("WA x ", str(c1))
print("TLE x ", str(c2))
print("RE x ", str(c3))

Submission status: Wrong Answer

Solution code:
import sys
def input(): return sys.stdin.readline().rstrip()
def main():
    n = int(input())
    ac, wa, tle, re =0, 0, 0, 0
    for i in range(n):
        s = input()
        if s == "AC":
            ac += 1
        elif s == "WA":
            wa += 1
        elif s == "TLE":
            tle += 1
        else:
            re += 1

    print("AC X {}".format(ac))
    print("WA X {}".format(wa)) 
    print("TLE X {}".format(tle))
    print("RE X {}".format(re))

if __name__=='__main__':
    main()

Submission status: Wrong Answer

Solution code:
N = int(input())
S = [input() for i in range(N)]
 
c0 = 0
c1 = 0
c2 = 0
c3 = 0
 
for i in range(N):
  if S[i] == 'AC':
    c0 += 1
  elif S[i] == 'WA':
    c1 += 1
  elif S[i] == 'TLE':
    c2 += 1
  elif S[i] == 'RE':
    c3 += 1
 
print('AC × %d' %c0)
print('WA × %d' %c1)
print('TLE × %d' %c2)
print('RE × %d' %c3)

Submission status: Wrong Answer

Solution code:
N = int(input())
S = [input() for i in range(N)]

c0 = 0
c1 = 0
c2 = 0
c3 = 0

for i in range(N):
  if S[i] == 'AC':
    c0 += 1
  elif S[i] == 'WA':
    c1 += 1
  elif S[i] == 'TLE':
    c2 += 1
  elif S[i] == 'RE':
    c3 += 1

print('AC  × %d' %c0)
print('WA  × %d' %c1)
print('TLE × %d' %c2)
print('RE  × %d' %c3)

Submission status: Wrong Answer

Solution code:
n = int(input())
i = []

for x in range(n):
    x = input()
    i.append(x)    
print(i)
    
print('AC x',i.count('AC'))
print('WA x',i.count('WA'))
print('TLE x',i.count('TLE'))
print('RE x',i.count('RE'))

Submission status: Wrong Answer

Solution code:
n = int(input())
i = []

for x in range(n):
    x = input()
    i.append(x)    
print(i)
    
print('AC x ',i.count('AC'))
print('WA x ',i.count('WA'))
print('TLE x ',i.count('TLE'))
print('RE x ',i.count('RE'))

Submission status: Wrong Answer

Solution code:
n = int(input())
s = list(input() for i in range(n))

ac = 0
wa = 0
tle = 0
re = 0
for i in range(n):
    if s[i] == "AC":
        ac+=1
    elif s[i] == "WA":
        wa += 1
    elif s[i] == "TLE":
        tle += 1
    else:
        re += 1

print("AC ×", str(ac))
print("WA ×",str(wa))
print("TLE ×",str(tle))
print("RE ×",str(re))

Submission status: Wrong Answer

Solution code:
n = int(input())

if n % 1000 == 0:
    print("0")
else:
    print(1000 - n % 1000)

Submission status: Wrong Answer

Solution code:
n = int(input())
d = [input() for i in range(n)]
ac = 0
wa = 0
tle = 0
re = 0

for i in range(n):
  if d[i] == 'AC':
    ac = ac + 1
  elif d[i] == 'WA':
    wa = wa +1
  elif d[i] == 'TLE':
    tle = tle +1
  else:
    re = re +1

print('AC x', ac)
print('WA x', wa)
print('TLE x', tle)
print('RA x', re)

Submission status: Wrong Answer

Solution code:
n = int(input())
d = [input() for i in range(n)]
ac = 0
wa = 0
tle = 0
re = 0

for i in range(n):
  if d[i] == 'AC':
    ac = ac + 1
  elif d[i] == 'WA':
    wa = wa +1
  elif d[i] == 'TLE':
    tle = tle +1
  else:
    re = re +1

print('AC ×', ac)
print('WA ×', wa)
print('TLE ×', tle)
print('RA ×', re)

Submission status: Wrong Answer

Solution code:
ac=0
wa=0
tle=0
re=0
n=int(input())
for i in range (0,n):
    s=input()
    if s=='AC' :
        ac=ac+1
    elif s=='WA' :
        wa=wa+1
    elif s=='TLE' :
        tle=tle+1
    else :
        re=re+1
print("AC × "+str(ac))
print("WA × "+str(wa))
print("TLE × "+str(tle))
print("RE × "+str(re))

Submission status: Wrong Answer

Solution code:
ac=0
wa=0
tle=0
re=0
n=int(input())
for i in range (0,n):
    s=input()
    if s=='AC' :
        ac=ac+1
    elif s=='WA' :
        wa=wa+1
    elif s=='TLE' :
        tle=tle+1
    else :
        re=re+1
print("AC ×"+str(ac))
print("WA ×"+str(wa))
print("TLE ×"+str(tle))
print("RE ×"+str(re))

Submission status: Wrong Answer

Solution code:
ac=0
wa=0
tle=0
re=0
n=int(input())
for i in range (0,n):
    s=input()
    if s=='AC' :
        ac=ac+1
    elif s=='WA' :
        wa=wa+1
    elif s=='TLE' :
        tle=tle+1
    else :
        re=re+1
print("AC ×",end='')
print(ac)
print("WA ×",end='')
print(wa)
print("TLE ×",end='')
print(tle)
print("RE ×",end='')
print(re)

Submission status: Wrong Answer

Solution code:
n = int(input())
c0 = 0
c1 = 0
c2 = 0
c3 = 0
for _ in range(n):
  s = input()
  if s == 'AC':
    c0 += 1
  elif s == 'WA':
    c1 += 1
  elif s == 'TLE':
    c2 += 1
  elif s == 'RE':
    c3 += 1
print('AC x', c0)
print('WA x', c1)
print('AC x', c2)
print('AC x', c3)

Submission status: Wrong Answer

Solution code:
n=int(input())
li=[input() for i in range(n)]
ans=[0,0,0,0]
for i in range(n):
    if li[i]=="AC":
        ans[0]+=1
    elif li[i]=="WA":
        ans[1]+=1
    elif li[i]=="TLE":
        ans[2]+=1
    elif li[i]=="RE":
        ans[3]+=1
print("AC × " + str(ans[0]))
print("WA × "+ str(ans[1]))
print("TLE × "+str(ans[2]))
print("RE × "+str(ans[3]))

Submission status: Wrong Answer

Solution code:
N=int(input())
w =0
x =0
y =0
z =0

for i in range(N):
    s =input()
    if s =='AC':
        w +=1
    elif s == 'WA':
        x +=1
    elif s == 'TLE':
        y +=1
    elif s == 'RE':
        z +=1

print ('AC × '+str(w))
print ('WA × '+str(x))
print ('TLe × '+str(y))
print ('RE × '+str(z))

Submission status: Wrong Answer

Solution code:
N=int(input())
w =0
x =0
y =0
z =0

for i in range(N):
    s =input()
    if s =='AC':
        w +=1
    elif s == 'WA':
        x +=1
    elif s == 'TLE':
        y +=1
    elif s == 'RE':
        z +=1

print ('AC×'+str(w))
print ('WA×'+str(x))
print ('TLe×'+str(y))
print ('RE×'+str(z))

Submission status: Wrong Answer

Solution code:
n = int(input())
ac = 0
wa = 0
tle = 0
re = 0
for i in range(n):
    s = input()
    if s == "AC":
        ac += 1
    elif s == "WA":
        wa += 1
    elif s == "TLE":
        tle += 1
    else:
        re += 1
print("AC × "+ str(ac))
print("WA × "+ str(wa))
print("TLE × " + str(tle))
print("RE × " + str(re))

Submission status: Wrong Answer

Solution code:
N = int(input())

result = [input().rstrip() for _ in range(N)]
print('AC × '+str(result.count('AC')))
print('WA × '+str(result.count('WA')))
print('TLE × '+str(result.count('TLE')))
print('RE × '+str(result.count('RE')))

Submission status: Wrong Answer

Solution code:
n = int(input())
lst = []
for i in range(n):
	str1 = input()
	lst.append(str1)
print('AC *' , lst.count('AC'))
print('WA *' , lst.count('WA'))
print('TLE *' ,lst.count('TLE'))
print('RE *' , lst.count('RE'))

Submission status: Wrong Answer

Solution code:
n=int(input())
s = [input() for i in range(n)]
print("AC *",s.count('AC'))
print("WA *",s.count('WA'))
print("TLE *",s.count('TLE'))
print("RE  *",s.count('RE'))

Submission status: Wrong Answer

Solution code:
N = int(input())
cnt1 = 0
cnt2 = 0
cnt3 = 0
cnt4 = 0
for i in range(N):
  S = input()
  if S == 'AC':
    cnt1 += 1
  elif S == 'WA':
    cnt2 += 1
  elif S == 'TLE':
    cnt3 += 1
  else:
    cnt4 += 1
print( 'AC ×' + str(cnt1) )
print( 'WA ×' + str(cnt2) )
print( 'TLE ×' + str(cnt3) )
print( 'RE ×' + str(cnt4) )

Submission status: Wrong Answer

Solution code:
s = []
n = int(input())
for i in range(n):
    s.append(input())
print("AC x " + str(s.count("AC")))
print("WA x " + str(s.count("WA")))
print("TlE x " + str(s.count("TLE")))
print("RE x " + str(s.count("RE")))

Submission status: Wrong Answer

Solution code:
N = int(input())
a = 0
w = 0
t = 0
r = 0

x = [0]*N
for i in range(N):
  x[i] = input()
  if x[i] == "AC":
    a += 1
  elif x[i] == "WA":
    w += 0
  elif x[i] == "TLE":
    t += 0
  else:
    r += 0

print("AC x " + str(a))
print("WA x " + str(w))
print("TLE x " + str(t))
print("RE x " + str(r))

Submission status: Wrong Answer

Solution code:
n = int(input())
c0 = 0
c1 = 0
c2 = 0
c3 = 0
for i in range(n):
    s = input()
    if s == "AC":
        c0 += 1
    elif s == "WA":
        c1 += 1
    elif s == "TLE":
        c2 += 1
    elif s == "RE":
        c3 += 1
    else:
        exit()

print(f"AC × {c0}")
print(f"WA × {c1}")
print(f"TLE × {c2}")
print(f"RE × {c3}")

Submission status: Wrong Answer

Solution code:
n = int(input())
s = list(input() for _ in range(n))
print("AC × " + str(s.count("AC")))
print("WA × " + str(s.count("WA")))
print("TLE × " + str(s.count("TLE")))
print("RE × " + str(s.count("RE")))

Submission status: Wrong Answer

Solution code:

n = int(input())
s = [str(input()) for i in range(n)]

a = s.count(('AC'))
b = s.count(('WA'))
c = s.count(('TLE'))
d = s.count(('RE'))

print("AC x {}".format(a))
print("WA x {}".format(b))
print("TLE x {}".format(c))
print("Re x {}".format(d))

Submission status: Wrong Answer

Solution code:
a,b,c,d=0,0,0,0
N=int(input())
S=[input() for _ in range(N)]
for i in range(N):
    if S[i]=='AC':
        a=a+1
    elif S[i]=='WA':
        b=b+1
    elif S[i]=='TLE':
        c=c+1
    elif S[i]=='RE':
        d=d+1
print('AC x',a)        
print('WA ×',b)    
print('TLE ×',c)       
print('RE ×',d)

Submission status: Wrong Answer

Solution code:
a,b,c,d=0,0,0,0
N=int(input())
S=[input() for _ in range(N)]
for i in range(N):
    if S[i]=='AC':
        a=a+1
    elif S[i]=='WA':
        b=b+1
    elif S[i]=='TLE':
        c=c+1
    elif S[i]=='RE':
        d=d+1
print('AC x　'+str(a))        
print('WA ×　'+str(b))    
print('TLE ×　'+str(c))       
print('RE ×　'+str(d))

Submission status: Wrong Answer

Solution code:
a,b,c,d=0,0,0,0
N=int(input())
S=[input() for _ in range(N)]
for i in range(N):
    if S[i]=='AC':
        a=a+1
    elif S[i]=='WA':
        b=b+1
    elif S[i]=='TLE':
        c=c+1
    elif S[i]=='RE':
        d=d+1
print('AC x　{}'.format(a))        
print('WA ×　{}'.format(b))       
print('TLE ×　{}'.format(c))       
print('RE ×　{}'.format(d))

Submission status: Wrong Answer

Solution code:
a,b,c,d=0,0,0,0
N=int(input())
S=[input() for _ in range(N)]
for i in range(N):
    if S[i]=='AC':
        a=a+1
    elif S[i]=='WA':
        b=b+1
    elif S[i]=='TLE':
        c=c+1
    elif S[i]=='RE':
        d=d+1
print('AC ×　{}'.format(a))        
print('WA ×　{}'.format(b))       
print('TLE ×　{}'.format(c))       
print('RE ×　{}'.format(d))

Submission status: Wrong Answer

Solution code:
N = int(input())
S = [input() for i in range(N)]
 
ac = 0
wa = 0
tle = 0
re = 0
for s in S:
  if s == 'AC': ac += 1
  elif s == 'WA': wa += 1
  elif s == 'TLE': tle += 1
  elif s == 'RE': re += 1

print('AC x ' + str(ac))
print('WA x ' + str(wa))
print('TLE x ' + str(tle))
print('RE × ' + str(re))

Submission status: Wrong Answer

Solution code:
n = int(input())
ac = 0
wa = 0
tle = 0
re = 0

for i in range(n):
    s = input()
    print(s)
    if s == 'AC':
        ac += 1
    elif s == 'WA':
        wa += 1
    elif s == 'TLE':
        tle += 1
    else:
        re += 1

print('AC x ' + str(ac))
print('WA x ' + str(wa))
print('TLE x ' + str(tle))
print('RE x ' + str(re))

Submission status: Wrong Answer

Solution code:
IN = [input() for i in range(1)]
N = int(IN[0])
INP = [input() for i in range(int(N))]
AC = 0
WA = 0
TLE = 0
RE = 0
i = 0

while i < N:
  if INP[i] == "AC":
    AC = AC + 1
    i = i + 1
  elif INP[i] == "WA":
    WA = WA + 1
    i = i + 1
  elif INP[i] == "TLE":
    TLE = TLE + 1
    i = i + 1
  elif INP[i] == "RE":
    RE = RE + 1
    i = i + 1
  else:
    i = i + 1

print("AC × " + str(AC))
print("WA × " + str(WA))
print("TLE × " + str(TLE))
print("RE × " + str(RE))

Submission status: Wrong Answer

Solution code:
#-------------------- fast io --------------------
import sys

sys.setrecursionlimit(500005)
stdin = sys.stdin

ns = lambda: stdin.readline().strip()
na = lambda: list(map(int, stdin.readline().split()))
ni = lambda: int(ns())

m = {'AC': 0, 'WA': 0, 'TLE': 0, 'RE': 0}
n = ni()
for i in range(n):
    m[ns()] += 1

print(f"AC x {m['AC']}")
print(f"WA x {m['WA']}")
print(f"TLE X {m['TLE']}")
print(f"RE x {m['RE']}")

Submission status: Wrong Answer

Solution code:
#-------------------- fast io --------------------
import sys

sys.setrecursionlimit(500005)
stdin = sys.stdin

ns = lambda: stdin.readline().strip()
na = lambda: list(map(int, stdin.readline().split()))
ni = lambda: int(ns())

m = {'AC': 0, 'WA': 0, 'TLE': 0, 'RE': 0}
n = ni()
for i in range(n):
    m[ns()] += 1

print(f"AC x {m['AC']}")
print(f"WA x {m['WA']}")
print(f"TLE X {m['TLE']}")
print(f"RE X {m['RE']}")

Submission status: Wrong Answer

Solution code:
N = int (input())

S = [input() for i in range(0,N)]

C0=0 #AC
C1=0 #WA
C2=0 #TLE
C3=0 #RE

for i in range(0,N):
    if S[i]=='AC':
        C0+=1
    elif S[i]=='WA':
        C1+=1
    elif S[i]=='TLE':
        C2+=1
    elif S[i]=='RE':
        C3+=0

print('AC x', C0)
print('WA x', C1)
print('TLE x', C2)
print('RE x', C3)

Submission status: Wrong Answer

Solution code:
N = int(input())
S=list(map(str, input().split()))

c0 = 0
c1 = 0
c2 = 0
c3 = 0

for i in S:
  if i == "AC":
    c0 += 1
    
  if i == "WA":
    c0 += 1

  if i == "TLE":
    c0 += 1
    
  if i == "RE":
    c0 += 1
  
  
print("AC x " + str(c0))
print("WA x " + str(c1))
print("TLE x " + str(c2))
print("RE x " + str(c3))

Submission status: Wrong Answer

Solution code:
n=int(input())


ac=0
wa=0
tle=0
re=0
for i in range(n) :
    s=str(input())
    if s=="AC" :
        ac=ac+1
    elif s=="WA" :
        wa=wa+1
    elif s=="TLE" :
        tle=tle+1
    else :
        re=re+1


print("AC × ",ac)
print("WA × ",wa)
print("TLE × ",tle)
print("RE × ",re)

Submission status: Wrong Answer

Solution code:
n=int(input())


ac=0
wa=0
tle=0
re=0
for i in range(n) :
    s=str(input())
    if s=="AC" :
        ac=ac+1
    elif s=="WA" :
        wa=wa+1
    elif s=="TLE" :
        tle=tle+1
    else :
        re=re+1


print("AC ×",ac)
print("WA ×",wa)
print("TLE ×",tle)
print("RE ×",re)

Submission status: Wrong Answer

Solution code:
n=int(input())


ac=0
wa=0
tle=0
re=0
for i in range(n) :
    s=str(input())
    if s=="AC" :
        ac=ac+1
    elif s=="WA" :
        wa=wa+1
    elif s=="TLE" :
        tle=tle+1
    else :
        re=re+1


print("AC  × ",ac)
print("WA  × ",wa)
print("TLE  × ",tle)
print("RE  × ",re)

Submission status: Wrong Answer

Solution code:
N = int(input())

C0 = 0
C1 = 0
C2 = 0
C3 = 0

for i in range(0,N):
  S = str(input())
  if S == 'AC':
    C0 += 1
  elif S == 'WA':
    C1 += 1
  elif S == 'TLE':
    C2 += 1
  elif S == 'RE':
    C3 += 1
    
print('AC ×',C0)
print('WA ×',C1)
print('TLE ×',C2)
print('RE ×',C3)

Submission status: Wrong Answer

Solution code:
n = int(input())
ans_ac = 0
ans_wa = 0
ans_tle = 0
ans_re = 0

for i in range(n):
    s = input()
    if s == 'AC':
        ans_ac += 1
    elif s == 'WA':
        ans_wa += 1
    elif s == 'TLE':
        ans_tle += 1
    else:
        ans_re += 1
        
print('AC × '+str(ans_ac))
print('WA × '+str(ans_wa))
print('TLE × '+str(ans_tle))
print('RE × '+str(ans_re))

Submission status: Wrong Answer

Solution code:
string1 = input()
string2 = "AC" 
string3 = string1.count(string2)
print("AC x {}".format(string3))
string4 = "WA" 
string5 = string1.count(string4)
print("WA x {}".format(string5))
string6 = "TLE" 
string7 = string1.count(string6)
print("TLE x {}".format(string7))
string8 = "RE" 
string9 = string1.count(string8)
print("RE x {}".format(string9))

Submission status: Wrong Answer

Solution code:
n=int(input())
count1=0
count2=0
count3=0
count4=0

for i in range(n):
  s=input()
  if(s=="AE"):
    count1+=1
  elif(s=="WA"):
    count2+=1
  elif(s=="TLE"):
    count3+=1
  elif(s=="RE"):
    count4+=1
print("AE x",count1)
print("WA x",count2)
print("TLE x",count3)
print("RE x",count4)

Submission status: Wrong Answer

Solution code:
N = int(input())
S = [input() for i in range(N)]
print("AC ×",S.count("AC"))
print("WA ×",S.count("WA"))
print("TLE ×",S.count("TLE"))
print("RE ×",S.count("RE"))

Submission status: Wrong Answer

Solution code:
N = int(input())
judge = []
for i in range(N):
    judge.append(input())

counter = [0, 0, 0, 0]
for i in range(N):
    if judge[i] == "AC":
        counter[0] += 1
    if judge[i] == "WA":
        counter[1] += 1
    if judge[i] == "TLE":
        counter[2] += 1
    if judge[i] == "RE":
        counter[3] += 1

print("AC × " + str(counter[0]))
print("WA × " + str(counter[1]))
print("TLE × " + str(counter[2]))
print("RE × " + str(counter[3]))

Submission status: Wrong Answer

Solution code:
n = int(input())
s_lst = list(str(input()) for _ in range(n))
count_lst = [0, 0, 0, 0]

for i in range(n):
    consequence = s_lst[i]
    if consequence == 'AC':
        count_lst[0] += 1
    elif consequence == 'WA':
        count_lst[1] += 1
    elif consequence == 'TLE':
        count_lst[2] += 1
    else:
        count_lst[3] += 1

consequence_lst = ['AC x {}'.format(count_lst[0]), 'WA　x {}'.format(count_lst[1]), 'TLE　x {}'.format(count_lst[2]), 'RE　x {}'.format(count_lst[3])]

for i in range(4):
    con = consequence_lst[i]
    print(con)

Submission status: Wrong Answer

Solution code:
n = int(input())
s = [input()for i in range(n)]
c0 = 0
c1 = 0
c2 = 0
c3 = 0
for i in range(n):
    if s[i] == 'AC':
        c0 += 1
    elif s[i] == 'WA':
        c1 += 1
    elif s[i] == 'TLE':
        c2 += 1
    else:
        c3 += 1
print(f'AC × {c0}\nWA × {c1}\nTLE × {c2}\nRE × {c3}')

Submission status: Wrong Answer

Solution code:
n = int(input())
s = [input()for i in range(n)]
c0 = 0
c1 = 0
c2 = 0
c3 = 0
for i in range(n):
    if s[i] == 'AC':
        c0 += 1
    elif s[i] == 'WA':
        c1 += 1
    elif s[i] == 'TLE':
        c2 += 1
    else:
        c3 += 1
print(f'AC×{c0}\nWA×{c1}\nTLE×{c2}\nRE×{c3}')

Submission status: Wrong Answer

Solution code:
N = int(input())
AC = 0
WA = 0
TLE = 0
RE = 0
for i in range(N):
    s = input()
    if s == 'AC':
        AC += 1
    elif s == 'WA':
        WA += 1
    elif s == 'TLE':
        TLE += 1
    else:
        RE += 1
print('AC', '×', AC)
print('WA', '×', WA)
print('TLE', '×', TLE)
print('RE', '×', RE)

Submission status: Wrong Answer

Solution code:
n = int(input())
cnt = []
for i in range(n):
    s = input()
    cnt.append(s)
print("AC ×", cnt.count('AC'))
print("WA ×", cnt.count("WA"))
print("TLE ×", cnt.count("TLE"))
print("RE ×", cnt.count("RE"))

Submission status: Wrong Answer

Solution code:
import sys
input = sys.stdin.readline
def inp():
    return(int(input()))
def inps():
    return str(input())
n = inp()
arr= []
cac = 0
cwa = 0
ctle = 0
cra = 0
for i in range(n):
    s = inps().rsplit()[0]
    if s=="AC": cac+=1
    elif s=="WA": cwa+=1
    elif s=="TLE": ctle+=1
    else: cra+=1
c = [cac, cwa, ctle, cra]
s = ["AC x ", "WA x ", "TLE x ", "RA x "]
for i in range(len(s)):
    print(s[i]+str(c[i]))

Submission status: Wrong Answer

Solution code:
n = int(input())
ac_c = 0
wa_c = 0
tle_c = 0
re_c = 0
for i in range(n):
    s = input()
    if s == "AC":
        ac_c += 1
    elif s == "WA":
        wa_c += 1
    elif s == "TLE":
        tle_c += 1
    else:
        re_c +=1
print("AC" + "x" + str(ac_c))
print("WA" +"x"+ str(wa_c))
print("TLE"+ "x"+ str(tle_c))
print("RE" + "x"+ str(re_c))

Submission status: Wrong Answer

Solution code:
n = int(input())
Sn = []

for i in range(n):
    Sn.append(input())

ac = Sn.count('AC')
wa = Sn.count('WA')
tle = Sn.count('TLE')
re = Sn.count('RE')

print('AC × {}'.format(ac))
print('WA × {}'.format(wa))
print('TLE × {}'.format(tle))
print('RE × {}'.format(re))