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:
# -*- coding: utf-8 -*-
"""
Created on Sat Aug 15 17:00:46 2020

@author: saito
"""

# %% import phase

# %% define phase

# %% input phase
N = int(input())
S = [0]*N
for i in range(N):
    S[i] = input()

# %% process phase
C = [0]*4
rslt = ['AC', 'WA', 'TLE', 'RE']
for i in range(4):
    C[i] = S.count(rslt[i])

# %%output phase
for i in range(4):
    print(rslt[i]+' '+'×'+' '+str(C[i]))

Submission status: Wrong Answer

Solution code:
N=int(input())

AC=0
WA=0
TLE=0
RE=0

for i in range(N):
    j=input()
    if j=='AC': 
        AC+=1
    elif j=='WA':
        WA+=1
    elif j=='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())
a=0
w=0
t=0
r=0

for i in range(n) :
    s=input()
    if s[0]=='A' :
        a+=1
    elif s[0]=='W' :
        w+=1
    elif s[0]=='T' :
        t+=1
    else :
        r+=1

print('AC　'+'×'+'　{}'.format(a))
print('WA　'+'×'+'　{}'.format(w))
print('TLE　'+'×'+'　{}'.format(t))
print('RE　'+'×'+'　{}'.format(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[0]=='A' :
        a+=1
    elif s[0]=='W' :
        w+=1
    elif s[0]=='T' :
        t+=1
    else :
        r+=1

print('AC '+'×'+' {}'.format(a))
print('WA '+'×'+' {}'.format(w))
print('TLE '+'×'+' {}'.format(t))
print('RE '+'×'+' {}'.format(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[0]=='A' :
        a+=1
    elif s[0]=='W' :
        w+=1
    elif s[0]=='T' :
        t+=1
    else :
        r+=1

print('AC'+'×'+'{}'.format(a))
print('WA'+'×'+'{}'.format(w))
print('TLE'+'×'+'{}'.format(t))
print('RE'+'×'+'{}'.format(r))

Submission status: Wrong Answer

Solution code:
"""B - Judge Status Summary"""
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 "+str(ac))
print("WA x "+str(wa))
print("TLE x "+str(tle))
print("RE x "+str(re))

Submission status: Wrong Answer

Solution code:
n = int(input())
case = ["AC", "WA", "TLE", "RE"]
ac=0;wa=0;tle=0;re=0;
ss = []
for _ in range(n):
        ss.append(input())
for i in ss:
    if i == "AC":
        ac += 1
    elif i == "WA":
        wa += 1
    elif i == "TLE":
        tle += 1
    else:
        re += 1
print(f"{case[0]} × {ac}")
print(f"{case[1]} × {wa}")
print(f"{case[2]} × {tle}")
print(f"{case[3]} × {re}")

Submission status: Wrong Answer

Solution code:
n=int(input())
ac=0
tle=0
wa=0
re=0
for i in range(n):
  a=input()
  if a=='AC':
    ac=ac+1
  elif a=='TLE':
    tle=tle+1
  elif a=='WA':
    w=wa+1
  else:
    re=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:
N=int(input())
AC=0
WA=0
TLE=0
RE=0
for i in range(N):
    c=input()
    if(c=='AC'):
        AC+=1
    elif(c=='WA'):
        WA+=1
    elif(c=='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())
S = []
for i in range(N):
    S.append(input())
AC = S.count("AC")
WA = S.count("WA")
TLE = S.count("TLE")
RE = S.count("RE")
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())
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(f"AC × {ac}")
print(f"WA × {wa}")
print(f"TLE × {tle}")
print(f"RE × {re}")

Submission status: Wrong Answer

Solution code:
n=int(input())
c1=c2=c3=c4=0
for i in range(n):
 x=input()
 if x=="AC":
  c1+=1
 elif x=="WA":
  c2+=1
 elif x=="TLE":
  c3+=1
 elif x=="RE":
  c4+=1
print("ACx"+str(c1))
print("WAx"+str(c2))
print("TLEx"+str(c3))
print("REx"+str(c4))

Submission status: Wrong Answer

Solution code:
n=int(input())
c1=c2=c3=c4=0
for i in range(n):
 x=input()
 if x=="AC":
  c1+=1
 elif x=="WA":
  c2+=1
 elif x=="TLE":
  c3+=1
 elif x=="RE":
  c4+=1
print("AC*"+str(c1))
print("WA*"+str(c2))
print("TLE*"+str(c3))
print("RE*"+str(c4))

Submission status: Wrong Answer

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

c = [s.count("AC"),s.count("WA"),s.count("TLE"),s.count("RE")]

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())

list=[]
ac=0
wa=0
re=0
tlc=0

for i in range(N):
 list.append(input())

for i in range(N):
 if list[i]=="AC":
  ac+=1
 elif list[i]=="WA":
  wa+=1
 elif list[i]=="RE":
  re+=1
 else:
  tlc+=1

print("AC : "+str(ac))
print("WA : "+str(wa))
print("TLE : "+str(tlc))
print("RE : "+str(re))

Submission status: Wrong Answer

Solution code:
n = int(input())

a = 0
w = 0
t = 0
r = 0

for i in range(n):
    b = input()
    if b == "AC":
        a += 1
    if b == "WA":
        w += 1
    if b == "TLE":
        t += 1
    if b == "RE":
        r += 1
print("AC x", a)
print("WA x", w)
print("TLE x", t)
print("RE2 x", r)

Submission status: Wrong Answer

Solution code:
import sys
N = int(input())

dict = {'AC':0, 'WA':0, 'TLE':0, 'RE':0}

for _ in range(N):
    S = input()
    if S in dict:
        i = dict.get(S)
        i += 1
        dict[S] = i

for key in dict.keys():
    print(key, '×', dict.get(key))

Submission status: Wrong Answer

Solution code:
A = int(input())
list1 = []
for i in range(A):
  a = input()
  list1.append(a)
b =list1.count('AC')
c =list1.count('TLE')
d =list1.count('RE')
e =list1.count('WA')
print('AC x '+ str(b))
print('WA x '+ str(e))
print('TLE x '+str(c))
print('ARE x '+str(d))

Submission status: Wrong Answer

Solution code:
N = int(input())
S = list()
for i in range(N):
    S.append(input())

for k in ['AC', 'TLE', 'WA', 'RE']:
    print('{0} x {1}'.format(k, S.count(k)))

Submission status: Wrong Answer

Solution code:
N=int(input())
S=[input() for _ in range(1,N+1)]
C0=0
C1=0
C2=0
C3=0
for s in S:
    if s=='AC':
        C0+=1
    elif s=='WA':
        C1+=1
    elif s=='TLE':
        C2+=1
    elif s=='RE':
        C3+=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())
S=[input() for _ in range(1,N+1)]

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

for s in S:
    if s=='AC':
        C0+=1
    elif s=='WA':
        C1+=1
    elif s=='TLE':
        C2+=1
    elif s=='RE':
        C3+=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:
#B-judge
N = int(input())
list = []

for i in range(N):
    list.append(str(input()))
    AC = int((list.count("AC")))
    WA = int((list.count("WA")))
    TLE = int((list.count("TLE")))
    RE = int((list.count("RE")))

print ("AC × ", AC)
print ("WA × ", WA)
print ("TLE × ", TLE)
print ("RE × ", RE)

Submission status: Wrong Answer

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

def p(X):
    print(X)

T = [X.count('AC'),X.count('WA'),X.count('TLE'),X.count('RE')]
T1 = ['AC', 'WA', 'TLE', 'RE' ]
p(T)

for j in range(4):
    print(T1[j] + ' x ' + str(T[j]))

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
  elif s == "RE":
    r += 1
    
print("AC x " + str(a))
print("WA x " + str(w))
print("TLE x " + str(a))
print("RE x " + str(w))

Submission status: Wrong Answer

Solution code:
n = int(input())

a = 0
w = 0
t = 0
r = 0

for _ in range(n):
    s = input()
    if s == 'AC':
        a += 1
    elif s == 'WA':
        w += 1
    elif s == 'TLE':
        t += 1
    elif s == 'RE':
        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())
AC = 0
WA = 0
TLE = 0
RE = 0
for i in range(N):
  deta = input()
  if deta == 'AC':
    AC += 1
  elif deta == 'WA':
    WA += 1
  elif deta == 'WA':
    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))

Submission status: Wrong Answer

Solution code:
N=int(input())
I=[]
for i in range(N):
    I.append(input())
a=0
b=0
c=0
d=0
for i in range(N):
    if I[i]=='AC':
        a+=1
    if I[i]=='WA':
        b+=1
    if I[i]=='TLE':
        c+=1
    if I[i]=='RE':
        d+=1
print('AC × '+str(a))
print('WA × '+str(b))
print('TLE × '+str(c))
print('RE × '+str(d))

Submission status: Wrong Answer

Solution code:
N = input()
n = int(N)

jugde = []
for i in range(n):
  s = input()
  jugde.append(s)
  
print('AC×',jugde.count('AC'))
print('WA×',jugde.count('WA'))
print('TLE×',jugde.count('TLE'))
print('RE×',jugde.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
    elif s == "WA":
        c1 += 1
    elif s == "TLE":
        c2 += 1
    else:
        c3 += 1

print("AC x", c0)
print("WA x", c1)
print("TLE x", c2)
print("RTE x", 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
    elif s == "WA":
        c1 += 1
    elif s == "TLE":
        c2 += 1
    else:
        c3 += 1

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

Submission status: Wrong Answer

Solution code:
n = int(input())
ac = 0
wa = 0
tle = 0
re = 0
for _ 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 ' + str(ac))
print('WA x ' + str(wa))
print('TLE x ' + str(tle))
print('RE x ' + str(re))

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 = list(input() for _ 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:
def main():

    n = int(input()) 
    verdict = []
    for i in range(n):
        verdict.append(input())
        # AC, WA, TLE, and RE

    print('AC' , 'X' , verdict.count('AC'))
    print('WA' , 'X' , verdict.count('WA'))
    print('TLE' , 'X' , verdict.count('TLE'))
    print('RE' , 'X' , verdict.count('RE'))


if __name__ == "__main__":
    main()

Submission status: Wrong Answer

Solution code:
c={"AC":0,"WA":0,"TLE":0,"RE":0}
for i in range(int(input())):
    c[input()]+=1
for i,j in c.items():
    print(i,"X",j)

Submission status: Wrong Answer

Solution code:
N = int(input())

cnt_ac = 0
cnt_wa = 0
cnt_tle = 0
cnt_re = 0

for i in range(N):
  s = input()
  if s == 'AC':
    cnt_ac += 1
  elif s == 'WA':
    cnt_wa += 1
  elif s == 'TLE':
    cnt_tle += 1
  elif s == 'RE':
    cnt_re += 1

print('AC × {}'.format(cnt_ac))
print('WA × {}'.format(cnt_wa))
print('TLE × {}'.format(cnt_tle))
print('RE × {}'.format(cnt_re))

Submission status: Wrong Answer

Solution code:
N = int(input())
i = 1
cnt_ac = 0
cnt_wa = 0
cnt_tle = 0
cnt_re = 0

while i <= N:
  s = input()
  if s == 'AC':
    cnt_ac += 1
  elif s == 'WA':
    cnt_wa += 1
  elif s == 'TLE':
    cnt_tle += 1
  elif s == 'RE':
    cnt_re += 1
  i += 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())
ac = 0
wa = 0
tle = 0
re = 0
for _ in range(n):
    s = input()
    if s == 'AC':
        ac += 1
    elif s == 'WA':
        wa += 1
    elif s == 'TLE':
        tle += 1
    elif s == 'RE':
        re += 1
print('AC x {}'.format(ac))
print('WA x {}'.format(wa))
print('TLE x {}'.format(tle))
print('re x {}'.format(re))

Submission status: Wrong Answer

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

ac = 0
wa = 0
tle = 0
re = 0

for item in P:
  if item == "AC":
    ac += 1
  elif item == "WA":
    wa += 1
  elif item == "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())
l=[0,0,0,0]
for _ in range(n):
	s=input()
	if(s=='AC'):
		l[0]+=1
	elif(s=='WA'):
		l[1]+=1
	elif(s=='TLE'):
		l[2]+=1
	elif(s=='RE'):
		l[3]+=1
print("AC X",l[0])
print("WA X",l[1])
print("TLE X",l[2])
print("RE X",l[3])

Submission status: Wrong Answer

Solution code:
n = int(input())
ac = 0
wa = 0
tle = 0
re = 0
s = ""
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(f"AC × {ac}\nWA × {wa}\nTLE × {tle}\nRE × {re}")

Submission status: Wrong Answer

Solution code:
n = int(input())
ac = 0
wa = 0
tle = 0
re = 0
s = [""] * n
for i in range(n):
    s[i] = input()
    if s[i] == "AC":
        ac += 1
    elif s[i] == "WA":
        wa += 1
    elif s[i] == "TLE":
        tle += 1
    else:
        re += 1
print(f"AC × {ac}\nWA × {wa}\nTLE × {tle}\nRE × {re}")

Submission status: Wrong Answer

Solution code:
n = int(input())
ac = 0
wa = 0
tle = 0
re = 0
s = [0] * n
for i in range(n):
    s[i] = input()
    if s[i] == "AC":
        ac += 1
    elif s[i] == "WA":
        wa += 1
    elif s[i] == "TLE":
        tle += 1
    else:
        re += 1
print(f"AC × {ac}\nWA × {wa}\nTLE × {tle}\nRE × {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(f"AC × {ac}\nWA × {wa}\nTLE × {tle}\nRE × {re}")

Submission status: Wrong Answer

Solution code:
N=int(input())
S= [input() for i in range(N)]
AC_len=int(S.count('AC'))
WA_len=int(S.count('WA'))
TLE_len=int(S.count('TLE'))
RE_len=int(S.count('RE'))
print('AC X'+' '+str(AC_len))
print('WA X'+' '+str(WA_len))
print('TLE X'+' '+str(TLE_len))
print('RE X'+' '+str(RE_len))

Submission status: Wrong Answer

Solution code:
import sys
from collections import Counter
input()
ct=Counter(sys.stdin)
for k,v in ct.items():
    print(k.strip(),'x',v)

Submission status: Wrong Answer

Solution code:
judge = {'AC' : 0, 'WA' : 0, 'TLE' : 0, 'RE' : 0}
N = int(input())

for i in range(N):
    testcase = input()
    if testcase == 'AC':
        judge['AC'] += 1
    elif testcase == 'WA':
        judge['WA'] += 1
    elif testcase == 'TLE':
        judge['TLE'] += 1
    else:
        judge['RE'] += 1

print('AC × ' + str(judge['AC']))
print('WA × ' + str(judge['WA']))
print('TLE × ' + str(judge['TLE']))
print('RE × ' + str(judge['RE']))

Submission status: Wrong Answer

Solution code:
from collections import Counter

n = int(input())
words = Counter([input() for i in range(n)])

for i in ("AC", "WA", "TLE", "RE"):
    print(f"{i} X {words.get(i, 0)}")

Submission status: Wrong Answer

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

for i in range(N):
  if input_list[i] == 'AC':
    AC += 1
  elif input_list[i] == 'WA':
    WA += 1
  elif input_list[i] == '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())
input_list = [input() for i in range(N)]
  
AC = 0
WA = 0
TLE = 0
RE = 0

for i in range(N):
  if input_list[i] == 'AC':
    AC += 1
  elif input_list[i] == 'WA':
    WA += 1
  elif input_list[i] == 'TLE':
    TLE += 1
  else:
    RE += 1
    
print('AC × ',AC)
print('WA × ',WA)
print('TLE × ',TLE)
print('RE × ',RE)

Submission status: Wrong Answer

Solution code:
from sys import stdin

n = int(stdin.readline().rstrip())

list = []
i = 0
for i in range(n):
  list.append(stdin.readline().rstrip())

AC = WA = TLE = RE = 0
for k in list:
  if k == 'AC':
    AC = AC + 1
  if k == 'WA':
    WA = WA + 1
  if k == 'TLE':
    TLE = TLE + 1
  if k == 'RE':
    RE = RE + 1
    
print(f'AC × {AC}')
print(f'WA × {WA}')
print(f'TLE × {TLE}')
print(f'RE × {RE}')

Submission status: Wrong Answer

Solution code:
N = int(input())

list = [input() for i in range(N)]

AC = int(0)
TLE = int(0)
WA = int(0)
RE = int(0)

for i in range(N):
    if list[i] == "AC":
        AC = AC + 1
    elif list[i] == "TLE":
        TLE = TLE + 1
    elif list[i] == "WA":
        WA = WA + 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:
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
    elif s == "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:
n = int(input())
ac = 0
wa = 0
tle = 0
re = 0
for i in range(n):
    data = input()
    if data == "AC":
        ac += 1
    elif data == "WA":
        wa += 1
    elif data == "TLE":
        tle += 1
    else:
        re += 1
print("AC x ", ac)
print("WA x ", wa)
print("tle x ", tle)
print("re x ", re)

Submission status: Wrong Answer

Solution code:
N = int(input())
Ss = []
for i in range(N):
  Ss.append(input())
 
C0, C1, C2, C3 = 0, 0, 0, 0
for S in Ss:
  if S == "AC":
    C0 += 1
  elif S == "WA":
    C1 += 1
  elif S == "TLE":
    C2 += 1
  elif S == "RE":
    C3 += 1
  else:
    continue
print("AC X {}".format(C0))
print("WA X {}".format(C1))
print("TLE X {}".format(C2))
print("RE X {}".format(C3))

Submission status: Wrong Answer

Solution code:
N = int(input())
Ss = []
for i in range(N):
  Ss.append(input())
 
C0, C1, C2, C3 = 0, 0, 0, 0
for S in Ss:
  if S == "AC":
    C0 += 1
  elif S == "WA":
    C1 += 1
  elif S == "TLE":
    C2 += 1
  elif S == "RE":
    C3 += 1
print("AC X {}".format(C0))
print("WA X {}".format(C1))
print("TLE X {}".format(C2))
print("RE X {}".format(C3))

Submission status: Wrong Answer

Solution code:
N = int(input())
Ss = []
for i in range(N):
  Ss.append(input())
 
C0, C1, C2, C3 = 0, 0, 0, 0
for S in Ss:
  if S == 'AC':
    C0 += 1
  elif S == 'WA':
    C1 += 1
  elif S == 'TLE':
    C2 += 1
  else:
    C3 += 1
print("AC X {}".format(C0))
print("WA X {}".format(C1))
print("TLE X {}".format(C2))
print("RE X {}".format(C3))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
list=[]
count=int(input())
for i in range(count):
    list.append(input())
#print(list)
print("AC"+"×"+str(list.count("AC")))
print("WA"+"×"+str(list.count("WA")))
print("TLE"+"×"+str(list.count("TLE")))
print("RE"+"×"+str(list.count("RE")))

Submission status: Wrong Answer

Solution code:
loop_count = int(input())

ac_count = 0
wa_count = 0
tle_count = 0
re_count = 0

for i in range(loop_count):
    result = input()
    if result == 'AC':
        ac_count += 1
    elif result == 'WA':
        wa_count += 1
    elif result == 'TLE':
        tle_count += 1
    else:
        re_count += 1

print("AC × {0}".format(str(ac_count)))
print("WA × {0}".format(str(wa_count)))
print("TLE × {0}".format(str(tle_count)))
print("RE × {0}".format(str(re_count)), end="")

Submission status: Wrong Answer

Solution code:
loop_count = int(input())

ac_count = 0
wa_count = 0
tle_count = 0
re_count = 0

for i in range(loop_count):
    result = input()
    if result == 'AC':
        ac_count += 1
    elif result == 'WA':
        wa_count += 1
    elif result == 'TLE':
        tle_count += 1
    else:
        re_count += 1

print("AC × {0}".format(str(ac_count)))
print("WA × {0}".format(str(wa_count)))
print("TLE × {0}".format(str(tle_count)))
print("RE × {0}".format(str(re_count)))

Submission status: Wrong Answer

Solution code:
loop_count = int(input())

ac_count = 0
wa_count = 0
tle_count = 0
re_count = 0

for i in range(loop_count):
    result = input()
    if result == 'AC':
        ac_count += 1
    elif result == 'WA':
        wa_count += 1
    elif result == 'TLE':
        tle_count += 1
    else:
        re_count += 1

print("AC ×　{0}".format(str(ac_count)))
print("WA ×　{0}".format(str(wa_count)))
print("TLE ×　{0}".format(str(tle_count)))
print("RE ×　{0}".format(str(re_count)))

Submission status: Wrong Answer

Solution code:
n=int(input())
ac=0
wa=0
tle=0
re=0
for i in range(n):
  num=str(input())
  if num=="AC":
    ac+=1
  elif num=="WA":
    wa+=1
  elif num=="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:
counto = []
for _ in range(int(input())):
	s = input()
	counto.append(s)
print("AC"+" x "+str(counto.count("AC")))
print("WC"+" x "+str(counto.count("WA")))
print("TLE"+" x "+str(counto.count("TLE")))
print("RE"+" x "+str(counto.count("RE")))

Submission status: Wrong Answer

Solution code:
n = int(input().rstrip())
s = list(map(str,input().rstrip().split()))
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())
print(N+N*N+N*N*N)

Submission status: Wrong Answer

Solution code:
n = int(input())
c1=0
c2=0
c3=0
c4=0
for I in range(1, n):
    s = str(input())
    if(s == "AC"):
        c1+= 1
    elif(s == "WA"):
        c2+=1
    elif(s == "TLE"):
        c3+=1
    elif(s == "RE"):
        c4 +=1
print(f"AC x {c1}")
print(f"WA x {c2}")
print(f"TLE x {c3}")
print(f"RE x {c4}")

Submission status: Wrong Answer

Solution code:
c = int(input())
j =  [0]*4
for i in range(c):
  a = input()
  if a == "AC":
    j[0] += 1
  elif a == "WA":
    j[1] += 1
  elif a == "TLE":
    j[2] += 1
  else:
    j[3] += 1
    
print("AC × "+ str(j[0]))
print("WA × "+ str(j[1]))
print("TLE × "+ str(j[2]))
print("RE × "+ str(j[3]))

Submission status: Wrong Answer

Solution code:
c = int(input())
j =  [0]*4
for i in range(c):
  i = input()
  if i == "AC":
    j[0] += 1
  elif i == "WA":
    j[1] += 1
  elif i == "TLE":
    j[2] += 1
  else:
    j[3] += 1
    
print("AC x "+ str(j[0]))
print("WA × "+ str(j[1]))
print("TLE × "+ str(j[2]))
print("RE × "+ str(j[3]))

Submission status: Wrong Answer

Solution code:
c = int(input())
j =  [0]*4
for i in range(c):
  i = input()
  if i == "AC":
    j[0] += 1
  elif i == "WA":
    j[1] += 1
  elif i == "TLE":
    j[2] += 1
  else:
    j[3] += 1
    
print("AC × "+ str(j[0]))
print("WA × "+ str(j[1]))
print("TLE × "+ str(j[2]))
print("RE × "+ str(j[3]))

Submission status: Wrong Answer

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

print('AC x {}'.format(S.count('AC')))
print('WA x {}'.format(S.count('WA')))
print('TLE x {}'.format(S.count('TLE')))
print('AC x {}'.format(S.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
  elif s == 'WA':
    C1 += 1
  elif s == 'TLE':
    C2 += 1
  else:
    C3 += 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())
s = [input() for i in range(N)]

res = {
    'AC' : 0,
    'TLE' : 0,
    'WA' : 0,
    'RE' : 0
}

for k in s:
    res[k] = res[k] + 1

for k, v in res.items():
    print(k + ' x ' + str(v))

Submission status: Wrong Answer

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

res = {
    'AC' : 0,
    'TLE' : 0,
    'WA' : 0,
    'RE' : 0
}

for k in s:
    print(res[k])
    res[k] = res[k] + 1

for k, v in res.items():
    print(k + ' x ' + str(v))

Submission status: Wrong Answer

Solution code:
N = int(input())

ACcount = 0 
WAcount = 0
TLEcount = 0
REcount = 0
for i in range(N):
	S=input()

	if S == "AC":
		ACcount = ACcount + 1
	elif S == "WA":
		WAcount = WAcount + 1
	elif S == "TLE":
		TLEcount = TLEcount + 1
	elif S == "RE":
		REcount = REcount + 1

print("AC x　" + str(ACcount))
print("WA x　" + str(WAcount))
print("TLE x　" + str(TLEcount))
print("RE x　" + str(REcount))

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,WA,TLE,RE)

Submission status: Wrong Answer

Solution code:
n = int(input())
searchWord = ['AC','WA','TLE','RE']
wordCountDict = {letter : 0 for letter in searchWord}
receiveWord = []
for i in range(n):
    word = input()
    receiveWord.append(word)

for letter in receiveWord:
    if letter in searchWord:
        wordCountDict[letter] += 1
for key, value in wordCountDict.items():
    print(f'{key} × {value}')

Submission status: Wrong Answer

Solution code:
n = int(input())
searchWord = ['AC','WA','TLE','RE']
wordCountDict = {letter : 0 for letter in searchWord}
for i in range(n):
    word = input()
    if word in searchWord:
        wordCountDict[word] += 1

for key, value in wordCountDict.items():
    print(f'{key} × {value}')

Submission status: Wrong Answer

Solution code:
N = int(input())
s = [input() for i in range(N)]
for v in ['AC', 'WA', 'TLE', 'RE']:
  print('{0}×{1}'.format(v, s.count(v)))

Submission status: Wrong Answer

Solution code:
N = int(input())

s = [input() for i in range(N)]

c = [s.count('AC'),s.count('WA'),s.count('TLE'),s.count('RE')]
d = ['AC','WA','TLE','RE']

for i in range(4):
    print(d[i]+' '+'×'+' '+str(c[i]) )

Submission status: Wrong Answer

Solution code:
N=int(input())
s=[]
cnt=[0 for i in range(4)]
for i in range(N):
    s.append(input())

for i in range(N):
    if s[i]=="AC":
        cnt[0]+=1
    elif s[i]=="WA":
        cnt[1]+=1
    elif s[i]=="TLE":
        cnt[2]+=1
    elif s[i]=="RE":
        cnt[3]+=1

print("AC x {}".format(cnt[0]))
print("WA x {}".format(cnt[1]))
print("TRE x {}".format(cnt[2]))
print("RE x {}".format(cnt[3]))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
from collections import Counter

N,S = int(input()),[]
for _ in range(N):
	S.append(input())
c = Counter(S)

print('AC × ' + str(c['AC']))
print('WA × ' + str(c['WA']))
print('TLE × ' + str(c['TLE']))
print('RE × ' + str(c['RE']))

Submission status: Wrong Answer

Solution code:
t = int(input())

c1, c2, c3, c4 = 0, 0, 0, 0
for i in range(t):
	s = input()
	if s == 'AC':
		c1 += 1
	elif s == 'TLE':
		c2 += 1
	elif s == 'WA':
		c3 += 1
	else:
		c4 += 1
print('AC x', c1)
print('WA x', c3)
print('TLE x', c2)
print('RTE x', c4)

Submission status: Wrong Answer

Solution code:
t = int(input())

c1, c2, c3, c4 = 0, 0, 0, 0
for i in range(t):
	s = input()
	if s == 'AC':
		c1 += 1
	elif s == 'TLE':
		c2 += 1
	elif s == 'WA':
		c3 += 1
	else:
		c4 += 1
print('AC *', c1)
print('WA *', c3)
print('TLE *', c2)
print('RTE *', c4)

Submission status: Wrong Answer

Solution code:
L = []
for i in range(int(input())):
  L.append(input())
print(L)
for j in ['AC','WA','TLE','RE']:
  print(j,'x',L.count(j))

Submission status: Wrong Answer

Solution code:
AC = 0
WA = 0
TLE = 0
RE = 0
N = int(input())
for i in range(N):
    S = input()
    if(S == "AC"):
        AC+=1
    elif(S == "WA"):
        WA+=1
    elif(S == "TLE"):
        TLE+=1
    elif(S == "RE"):
        RE+=1

print("AC × " + str(AC) + "\nWA × " + str(WA) + "\nTLE × " + str(TLE) + "\nRE × " + str(RE))

Submission status: Wrong Answer

Solution code:
AC = 0
WA = 0
TLE = 0
RE = 0
N = int(input())
for i in range(N):
    S = input()
    if(S == "AC"):
        AC+=1
    elif(S == "WA"):
        WA+=1
    elif(S == "TLE"):
        TLE+=1
    elif(S == "RE"):
        RE+=1

print("AC × " + str(AC) + "\nWA ×" + str(WA) + "\nTLE ×" + str(TLE) + "\nRE ×" + str(RE))

Submission status: Wrong Answer

Solution code:
# B - Judge Status Summary


def main(n, s):
    result_table = {
        'AC': 0,
        'WA': 0,
        'TLE': 0,
        'RE': 0
    }
    for i in s:
        result_table[i] += 1
    return result_table


if __name__ == "__main__":
    n = int(input())
    s = []
    for i in range(n):
        s.append(input())
    results = main(n, s)
    for key, value in results.items():
        print(f"{key} × {value}")

Submission status: Wrong Answer

Solution code:
AC = WA = TLE = RE = 0
N = int(input()) #1行目のNを取得する

s = [input() for i in range(N)] #複数行の数値の入力を取得

for v in s:
    if(v == "AC"):
        AC+=1
    elif(v == "WA"):
        WA+=1
    elif(v == "TLE"):
        TLE+=1
    else:
        RE+=1
        
print('AC x %d' % (AC))
print('AC x %d' % (WA))
print('AC x %d' % (TLE))
print('AC x %d' % (RE))

Submission status: Wrong Answer

Solution code:
n = int(input())
list = []
c1,c2,c3,c4 = 0,0,0,0
for i in range(0,n):
  list.append(input())
for j in range(0,n):
  if list[j] == "AC":
    c1 = c1+1
  if list[j] == "WA":
    c2 = c2+1
  if list[j] == "TLE":
    c3 = c3+1
  if list[j] == "RE":
    c4 = c4+1
print("AC {}\nWA {}\nTLE {}\nRE {}".format(c1,c2,c3,c4))