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:
n = int(input())
str_list = [input() for _ in range(n)]


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

i=0
                
for i in range(0, n):
    if str_list[i] == 'AC':
    	a += 1
    elif str_list[i] == 'WA':
    	b += 1
    elif str_list[i] == 'TLE':
    	c +=1
    else :
    	d +=1

print('AC x'+ str(a))
print('WA x'+ str(b))
print('TLE x'+ str(c))
print('RE x'+ str(d))

Submission status: Wrong Answer

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


a=0
b=0
c=0                
d=0                
                
for i in range(n):
    if str_list[i] == 'AC':
    	a += 1
    elif str_list[i] == 'WA':
    	b += 1
    elif str_list[i] == 'TLE':
    	c +=1
    else :
    	d +=1

print('AC x'+ str(a))
print('WA x'+ str(b))
print('TLE x'+ str(c))
print('RE x'+ str(d))

Submission status: Wrong Answer

Solution code:
n = int(input())
a = ["AC"] * n
c = [0]*4

for i in range(n):
  a[i] = input()
  if(a[i]=="AC"):
    c[0] += 1
  if(a[i]=="WA"):
    c[1] += 1
  if(a[i]=="TLE"):
    c[2] += 1
  if(a[i]=="RE"):
    c[3] += 1

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

Submission status: Wrong Answer

Solution code:
N = int(input())

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

for i in range(N):
  TEST = input()
  if TEST == "AC":
    AC += 1
  elif TEST == "WA":
    WA += 1
  elif TEST == "TLE":
    TLE += 1
  else:
    RE += 1

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

a = [[input()] for i in range(n)]

print("AC x " + str(a.count("AC")))
print("WA x " + str(a.count("WA")))
print("TLE x " + str(a.count("TLE")))
print("RE x " + str(a.count("RE")))

Submission status: Wrong Answer

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


a=0
b=0
c=0                
d=0                
                
for i in range(1, n):
    if str_list[i] == 'AC':
    	a += 1
    elif str_list[i] == 'WA':
    	b += 1
    elif str_list[i] == 'TLE':
    	c +=1
    else :
    	d +=1

print('AC x'+ str(a))
print('WA x'+ str(b))
print('TLE x'+ str(c))
print('RE x'+ str(d))

Submission status: Wrong Answer

Solution code:
N = int(input())

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

for i in range(N):
  TEST = input()
  if TEST == "AC":
    AC += 1
  elif TEST == "WA":
    WA += 1
  elif TEST == "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:
import sys

sys.setrecursionlimit(10 ** 6)
input = sys.stdin.readline
from math import floor, sqrt, factorial, hypot, log  # log2ないｙｐ
from heapq import heappop, heappush, heappushpop
from collections import Counter, defaultdict, deque
from itertools import accumulate, permutations, combinations, product, combinations_with_replacement
from bisect import bisect_left, bisect_right
from copy import deepcopy
from fractions import gcd
from random import randint


def ceil(a, b): return (a + b - 1) // b


inf = float('inf')
mod = 10 ** 9 + 7


def pprint(*A):
    for a in A:     print(*a, sep='\n')


def INT_(n): return int(n) - 1


def MI(): return map(int, input().split())


def MF(): return map(float, input().split())


def MI_(): return map(INT_, input().split())


def LI(): return list(MI())


def LI_(): return [int(x) - 1 for x in input().split()]


def LF(): return list(MF())


def LIN(n: int): return [I() for _ in range(n)]


def LLIN(n: int): return [LI() for _ in range(n)]


def LLIN_(n: int): return [LI_() for _ in range(n)]


def LLI(): return [list(map(int, l.split())) for l in input()]


def I(): return int(input())


def F(): return float(input())


def ST(): return input().replace('\n', '')


def main():
    N = I()
    AC = 0
    WA = 0
    TLE = 0
    RE = 0
    for _ in range(N):
        S = ST()
        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)

if __name__ == '__main__':
    main()

Submission status: Wrong Answer

Solution code:
N = int(input())
for i in range(N):
    S = input().split()
    a = list(S)
    a.append(S)
    i += 1
print("AC" + " x " + str(a.count("AC")))
print("WA"+ " x "+ str(a.count("WA")))
print("TLE" + " x " + str(a.count("TLE")))
print("RE" + " x " + str(a.count("RE")))

Submission status: Wrong Answer

Solution code:
n=int(input())

a = [[input()] for i in range(n)]

Submission status: Wrong Answer

Solution code:
a=int(input())
cAC=0
cWA=0
cTLE=0
cRE=0
for i in range(a):
    b=input()
    if b=="AC":
        cAC+=1
    elif b=="WA":
        cWA=1
    elif b=="TLE":
        cTLE+=1
    elif b=="RE":
        cRE+=1
print("AC × {}".format(str(cAC)))
print("WA × {}".format(str(cWA)))
print("TLE × {}".format(str(cTLE)))
print("RE × {}".format(str(cRE)))

Submission status: Wrong Answer

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

status = ["AC","WA","TLE","RE"]
ans  = [0]*4

for i in range(len(status)):
    ans[i] = len([j for j in s if status[i] in s])

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

Submission status: Wrong Answer

Solution code:
N=int(input())
s=[]

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

aa=["AC","WA","TLE","RE"]
for a in aa:
    print("{} × {}".format(a,str(s.count(a))))

Submission status: Wrong Answer

Solution code:
n = int(input())

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

for i in range(n):
    s = input()
    L[s] += 1

K = list(L.keys())
V = list(L.values())

for i in range(4):
    print(K[i], '×', V[i])

Submission status: Wrong Answer

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

counter = collections.Counter(S)
AC = counter['AC']
WA = counter['WA']
TLE = counter['TLE']
RE = counter['RE']

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
b = 0
c = 0
d = 0
if n > 0:
  for i in range(n):
    S =  str(input())
    if S == 'AC':
      a += 1
    if S == 'WA':
      b += 1
    if S == 'TLE':
      c += 1
    if S == '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=int(input())
s=[]
#print(type(N))
for i in range(N):
    s.append(input())

print(s)
aa=["AC","WA","TLE","RE"]
for a in aa:
    print("{} × {}".format(a,str(s.count(a))))

Submission status: Wrong Answer

Solution code:
n = int(input())
a = 0
b = 0
c = 0
d = 0

if n > 0:
  for i in range(n):
    S =  str(input())
    if S == 'AC':
      a += 1
    if S == 'WA':
      b += 1
    if S == 'TLE':
      c += 1
    if S == '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=int(input())
s=[input(i) for i in range(n)]

c=[0,0,0,0]

for i in range(n):
  if s[i]=="AC":
    c[0]+=1
  elif s[i]=="WA":
    c[1]+=1
  elif s[i]=="TLE":
    c[2]+=1
  else:
    c[3]+=1

print("AC","x",c[0])
print("WA","x",c[1])
print("TLE","x",c[2])
print("RE","x",c[3])

Submission status: Wrong Answer

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

for i in range(n):
    ans = input()

    if ans == 'AC':
        a+=1
    elif ans == 'WA':
        w+=1
    elif ans == 'TLE':
        t+=1
    else:
        r+=1

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:
a=int(input())
cAC=0
cWA=0
cTLE=0
cRE=0
for i in range(a):
    b=input()
    if b=="AC":
        cAC+=1
    elif b=="WA":
        cWA=1
    elif b=="TLE":
        cTLE+=1
    elif b=="RE":
        cRE+=1
print("AC ×",cAC)
print("WA ×",cWA)
print("TLE ×",cTLE)
print("RE ×",cRE)

Submission status: Wrong Answer

Solution code:
import math
import sys

n = int(input())
e = math.pow(10,5)


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
    elif s=="RE":
        re += 1
    else:
        sys.exit(0)


print("AC ×", str(ac), "\nWA ×", str(wa), "\nTLE ×", str(tle), "\nRE ×", str(re))

Submission status: Wrong Answer

Solution code:
a=int(input())
cAC=0
cWA=0
cTLE=0
cRE=0
for i in range(a):
    b=input()
    if b=="AC":
        cAC+=1
    elif b=="WA":
        cWA=1
    elif b=="TLE":
        cTLE+=1
    elif b=="RE":
        cRE+=1
print("AC×",cAC)
print("WA×",cWA)
print("TLE×",cTLE)
print("RE×",cRE)

Submission status: Wrong Answer

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

status = ["AC","WA","TLE","RE"]

for i in range(len(status)):
    status[i] = len([j for j in s if status[i] in s])

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

Submission status: Wrong Answer

Solution code:
N = int(input())
for s in range(N):
  s = input()
  print('AC','x',s.count('AC'))
  print('TLE','x',s.count('TLE'))
  print('WJ','X',s.count('WJ'))
  print('RE','X',s.count('RE'))

Submission status: Wrong Answer

Solution code:
n = int(input())
a = 0
b = 0
c = 0
d = 0
 
for i in range(n):
  S =  str(input())
  if S == 'AC':
    a += 1
  if S == 'WA':
    b += 1
  if S == 'TLE':
    c += 1
  if S == '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 = int(input())
S = [input() for i in range(N)]
res = [0,0,0,0]
for x in S:
    if x=="AC":
        res[0] +=1
    elif x == "WA":
        res[1] +=1
    elif x == "TLE":
        res[2] +=1
    else:
        res[3] +=1
print("AC × " + str(res[0]))
print("WA × " + str(res[1]))
print("TLE × " + str(res[2]))
print("RE × " + str(res[3]))

Submission status: Wrong Answer

Solution code:
a = int(input())

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

for i in range(a):
    s = input()
    if s == "AC":
        AC = AC + 1
        continue
    if s == "AC":
        WA = WA + 1
        continue
    if s == "TLE":
        TLE = TLE + 1
        continue
    if s == "RE":
        RE = RE + 1
        continue


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:
row = int(input())
s = [input() for i in range(row)]
ac = 0
wa = 0
tle = 0
re = 0
for j in s:
    if j == "AC":
        ac += 1
    elif j == "WA":
        wa += 1
    elif j == "TLE":
        tle += 1
    elif j == "re":
        re += 1
ac = str(ac)
wa = str(wa)
tle = str(tle)
re = str(re)
print("AC × " + ac)
print("WA × " + wa)
print("TLE × " + tle)
print("RE × " + re)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
N = int(input())
S = [input() for i in range(N)]
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())
m={"AC":0,"WA":0,"TLE":0,"RE":0}
for i in range(n):
  s=input() 
  if s=="AC":
    m[s]+=1
  elif s=="WA":
    m[s]+=1 
  elif s=="RE":
    m[s]+=1
  elif s=="TLE":
    m[s]+=1
print("AC X",m["AC"])
print("WA X",m["WA"])
print("TLE X",m["TLE"])
print("RE ",m["RE"])

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
  if S == 'WA':
    b += 1
  if S == 'TLE':
    c += 1
  if S == '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:
a = int(input())
jud = []
for i in range(a):
	jud.append(input().strip())
print(a)
print('AC x '+str(jud.count('AC')))
print('WA x '+str(jud.count('WA')))
print('TLE x '+str(jud.count('TLE')))
print('RE x '+str(jud.count('RE')))

Submission status: Wrong Answer

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

print('AC x ︎',s.count('AC'))
print('WA x ︎',s.count('WA'))
print('TLE x',s.count('TLE'))
print('RE x',s.count('RE'))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a=int(input())
cAC=0
cWA=0
cTLE=0
cRE=0
for i in range(a):
    b=input()
    if b=="AC":
        cAC+=1
    elif b=="WA":
        cWA=1
    elif b=="TLE":
        cTLE+=1
    elif b=="RE":
        cRE+=1
print("AC×{}".format(cAC))
print("WA×{}".format(cWA))
print("TLE×{}".format(cTLE))
print("RE×{}".format(cRE))

Submission status: Wrong Answer

Solution code:
n = int(input())
s = list(input().split())
  
print("AC x ",s.count("AC"))
print("WA x ",s.count("WA"))
print("TLE x ",s.count("TLE"))
print("RE x ",s.count("RE"))

Submission status: Wrong Answer

Solution code:
from collections import defaultdict, deque, Counter
from heapq import heappush, heappop, heapify
import bisect
import random
from itertools import permutations, accumulate, combinations, product
import sys
import string
from bisect import bisect_left, bisect_right
from math import factorial, ceil, floor, acos, asin, atan, sqrt, tan, cos, pi
from operator import mul
from functools import reduce
from pprint import pprint


sys.setrecursionlimit(10 ** 7)
INF = 10 ** 20
def LI(): return list(map(int, sys.stdin.readline().split()))
def I(): return int(sys.stdin.readline())
def LS(): return sys.stdin.readline().split()
def S(): return sys.stdin.readline().strip()
def IR(n): return [I() for i in range(n)]
def LIR(n): return [LI() for i in range(n)]
def SR(n): return [S() for i in range(n)]
def LSR(n): return [LS() for i in range(n)]
def SRL(n): return [list(S()) for i in range(n)]
def MSRL(n): return [[int(j) for j in list(S())] for i in range(n)]


mod = 10 ** 9 + 7


n = I()
a, t, w, r = 0, 0, 0, 0
for _ in range(n):
    s = S()
    if s[0] == "A":
        a += 1
    elif s[0] == "T":
        t += 1
    elif s[0] == "R":
        r += 1
    else:
        w += 1

print("AC x", a)
print("WA x", w)
print("TLE x", t)
print("RC x", r)

Submission status: Wrong Answer

Solution code:
N = int(input())
for s in range(N):
    s = list(input().split())
    
print('AC','x',s.count('AC'))
print('TLE','x',s.count('TLE'))
print('WJ','X',s.count('WJ'))
print('RE','X',s.count('RE'))

Submission status: Wrong Answer

Solution code:
import math
import sys

n = int(input())
e = math.pow(10,5)

if (n<1)or(e<n):
    sys.exit(0)

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
    elif s=="RE":
        re += 1
    else:
        sys.exit(0)

print("AC ×", str(ac), "\nWA ×", str(wa), "\nTLE ×", str(tle), "\nRE ×", str(re))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
N=int(input())

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

S=[input() for i in range(N-1)]
for s in S:
    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:
a=int(input())
cAC=0
cWA=0
cTLE=0
cRE=0
for i in range(a):
    b=input()
    if b=="AC":
        cAC+=1
    elif b=="WA":
        cWA=1
    elif b=="TLE":
        cTLE+=1
    elif b=="RE":
        cRE+=1
print("AC × {}".format(cAC))
print("WA × {}".format(cWA))
print("TLE × {}".format(cTLE))
print("RE × {}".format(cRE))

Submission status: Wrong Answer

Solution code:
def main():
    import collections
    n = int(input())
    if n>=1 and n<=10**5:
        mylist = []
        for i in range(1, n+1):
            s = input()
            mylist.append(s)
        c = collections.Counter(mylist)
        print('AC × ' + str(c['AC']))
        print('WA × ' + str(c['WA']))
        print('TLE × ' + str(c['TLE']))
        print('RE × ' + str(c['RE']))
if __name__ == "__main__":
    main()

Submission status: Wrong Answer

Solution code:
import math
import sys

n = int(input())
e = pow(10,5)

if (n<1)or(e<n):
    sys.exit(0)

i = 1
ac = 0
wa = 0
tle = 0
re = 0
while i<=n:
    s = input()
    if s=="AC":
        ac += 1
    elif s=="WA":
        wa += 1
    elif s=="TLE":
        tle += 1
    elif s=="RE":
        re += 1
    else:
        sys.exit(0)
    i+=1

print("AC ×", str(ac), "\nWA ×", str(wa), "\nTLE ×", str(tle), "\nRE ×", 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
    elif s == "TLE":
        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())
C0 = 0
C1 = 0
C2 = 0
C3 = 0
for i in range(N):
  result = input()
  if result == "AC":
    C0 += 1
  elif result == "WA":
    C1 += 1
  elif result == "TLE":
    C2 += 1
  else:
    C3 += 1
    
print("AC ×", C0)
print("WA ×", C1)
print("TLE ×", C2)
print("RE ×", C3)

Submission status: Wrong Answer

Solution code:
from collections import defaultdict

d=defaultdict(int)

for i in range(int(input())):
  s=input()
  d[s]+=1
  
print("AC x",d["AC"])
print("WA x",d["WA"])
print("TLE x",d["TLE"])
print("TLE x",d["TLE"])

Submission status: Wrong Answer

Solution code:
def main():
    import collections
    n = int(input())
    mylist = []
    for i in range(1, n+1):
        s = input()
        mylist.append(s)
    c = collections.Counter(mylist)
    print('AC × ' + str(c['AC']))
    print('WA × ' + str(c['WA']))
    print('TLE × ' + str(c['TLE']))
    print('RE × ' + str(c['RE']))
if __name__ == "__main__":
    main()

Submission status: Wrong Answer

Solution code:
# -*- coding: utf-8 -*-
a = int(input())

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

for i in range(a):
    s = input()
    if s == "AC":
        AC = AC + 1
        continue
    if s == "AC":
        AC = AC + 1
        continue
    if s == "TLE":
        AC = AC + 1
        continue
    if s == "RE":
        AC = AC + 1
        continue


print("AC x {}".format(AC))
print("WA x {}".format(AC))
print("TLE x {}".format(AC))
print("RE x {}".format(AC))

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
n = int(input())
a = 0
b = 0
c = 0
d = 0

for i in range(n):
  S = list(map(str, input().split()))
  if S[0] == 'AC':
    a += 1
  if S[0] == 'WA':
    b += 1
  if S[0] == 'TLE':
    c += 1
  if S[0] == '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 = int(input())
for s in range(1,N+1):
  s = list(input().split())
  break
print('AC','x',s.count('AC'))
print('TLE','x',s.count('TLE'))
print('WJ','X',s.count('WJ'))
print('RE','X',s.count('RE'))

Submission status: Wrong Answer

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

print("AC x {}".format(a.count("AC")))
print("TLE x {}".format(a.count("TLE")))
print("WA x {}".format(a.count("WA")))
print("RE x {}".format(a.count("RE")))

Submission status: Wrong Answer

Solution code:
N = int(input())
for s in range(1,N+1):
  s = list(input().split())
  print(s)
  break
print('AC','x',s.count('AC'))
print('TLE','x',s.count('TLE'))
print('WJ','X',s.count('WJ'))
print('RE','X',s.count('RE'))

Submission status: Wrong Answer

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

print("AC x{}".format(a.count("AC")))
print("TLE x{}".format(a.count("TLE")))
print("WA x{}".format(a.count("WA")))
print("RE x{}".format(a.count("RE")))

Submission status: Wrong Answer

Solution code:
N = int(input())
str_lis = []
C0 = 0
C1 = 0
C2 = 0
C3 = 0
for i in range(N):
  result = input()
  if result == "AC":
    C0 += 1
  elif result == "WA":
    C1 += 1
  elif result == "TLE":
    C2 += 1
  else:
    C3 += 1
    
print("AC × ", C0)
print("WA × ", C1)
print("TLE × ", C2)
print("RE × ", C3)

Submission status: Wrong Answer

Solution code:
N=int(input())

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

S=[input() for i in range(N)]
for s in S:
    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())
list=[]
for i in range(N):
  S=input()
  if S:
    list.append(S)
C0=list.count("AC")
C1=list.count("WA")
C2=list.count("TLE")
C3=list.count("RE")
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 = [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())
for s in range(N):
  s = list(input().split())
  print(s)
  break
print('AC','x',s.count('AC'))
print('TLE','x',s.count('TLE'))
print('WJ','X',s.count('WJ'))
print('RE','X',s.count('RE'))

Submission status: Wrong Answer

Solution code:
import collections
n = int(input())
m = [input() for i in range(n)]

check = ["AC","WA","TLE","RE"]
for i in check:
  m.append(i)

c = collections.Counter(m)

for i,j in c.items():
  print(i+ " x " +str(j-1))

Submission status: Wrong Answer

Solution code:
na=0
nw=0
nt=0
nr=0
i = int(input())
for n in range(i):
    a=input()
    if a=="AC":
        na= na +1
    elif a=="WA":
        nw= nw+1
    elif a=="TLE":
        nt=nt+1
    else:
        nr=nr+1
print('AC × %d'%na)
print('WA × %d'%nw)
print('TLE × %d'%nt)
print('RE × %d'%nr)

Submission status: Wrong Answer

Solution code:
n = int(input())
s = [input() for i in range(n)]
 
i = 0
a = 0
t = 0
w = 0
r = 0
 
for i in range(n):
  if s[i] == "AC":
    a += 1
    i += 1
  elif s[i] == "TLE":
    t += 1
    i += 1
  elif s[i] == "WA":
    w += 1
    i += 1
  else:
    r += 1
    i += 1
 
print("""AC × {0}
WA × {1}
TLE × {2}
RE × {3}""". format(a, w, t, r))

Submission status: Wrong Answer

Solution code:
N=int(input())

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

S=[input() for i in range(N)]
for s in S:
    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())
a = 0
b = 0
c = 0
d = 0

for i in range(n):
  S = list(map(str, input().split()))
  if S[0] == 'AC':
    a += 1
  if S[0] == 'WA':
    b += 1
  if S[0] == 'TLE':
    c += 1
  if S[0] == '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 = int(input())
verdict = [input() for i in range(n)]

opt_dict = {}

for j in verdict:
  if j not in opt_dict:
    opt_dict[j] = 0
    
  opt_dict[j] = opt_dict[j] + 1


for k, v in opt_dict.items():
  print(f"{k} x {v}")

Submission status: Wrong Answer

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

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

for i in range(n):
  if s[i] == "AC":
    a += 1
    i += 1
  elif s[i] == "TLE":
    t += 1
    i += 1
  elif s[i] == "WA":
    w += 1
    i += 1
  else:
    r += 1
    i += 1

print("""
AC × {0}
WA × {1}
TLE × {2}
RE × {3}
""". format(a, w, t, r))

Submission status: Wrong Answer

Solution code:
a=int(input())

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

print("AC × {:d}".format(s.count("AC")))
print("WA × {:d}".format(s.count("WA")))
print("TLE × {:d}".format(s.count("TLE")))
print("RE × {:d}".format(s.count("RE")))

Submission status: Wrong Answer

Solution code:
def main():
    n = int(input())
    mylist = []
    for i in range(1, n+1):
        s = input()
        mylist.append(s)
    ac=mylist.count('AC')
    wa=mylist.count('WA')
    tle=mylist.count('TLE')
    re=mylist.count('RE')
    print('AC × ' + str(ac))
    print('WA × ' + str(wa))
    print('TLE × ' + str(tle))
    print('RE × ' + str(re))
if __name__ == "__main__":
    main()

Submission status: Wrong Answer

Solution code:
def main(n,si):
    results = ['AC','WA','TLE','RE']
    res_num =[0,0,0,0]

    for index in range(0,n):
        if (si[0:2]==results[0]):
            res_num[0] += 1
            si=si.replace(results[0],'',1)
            print(si)
        if (si[0:2] ==results[1]):
            res_num[1] += 1
            si=si.replace(results[1],'',1)
            print(si)
        if (si[0:3] ==results[2]):
            res_num[2] += 1
            si=si.replace(results[2],'',1)
            print(si)
        if (si[0:2] ==results[3]):
            res_num[3] += 1
            si=si.replace(results[3],'',1)
            print(si)
    print(res_num)

Submission status: Wrong Answer

Solution code:
case = input()
AC = 0
WA = 0
TLE = 0
RE = 0
others = 0
for i in range(len(case)):
    
  if case[i] == "AC":
    AC += 1
      
  elif case[i] == "WA":
    WA += 1
      
  elif case[i] == "TLE":
    TLE += 1
      
  elif case[i] == "RE":
    RE += 1
      
  else :
    others += 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:
def main(case):
  AC = 0
  WA = 0
  TLE = 0
  RE = 0
  others = 0
  for i in range(len(case)):
    
    if case[i] == "AC":
      AC += 1
      
    elif case[i] == "WA":
      WA += 1
      
    elif case[i] == "TLE":
      TLE += 1
      
    elif case[i] == "RE":
      RE += 1
      
    else :
      others += 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())
a  = []
for i in range(n):
    s=str(input())
    a.append(s)
print(("AC x ")+str(a.count("AC")))
print(("WA x ")+str(a.count("WA")))
print(("TLE x ")+str(a.count("TLE")))
print(("RA x ")+str(a.count("RA")))

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

AC2 = "AC×" + str(AC)
WA2 = "WA×" + str(WA)
TLE2 = "TLE×" + str(TLE)
RE2 = "RE×" + str(RE)

list = [AC2,WA2,TLE2,RE2]
list_n = "\n".join(list)
print(list_n)

Submission status: Wrong Answer

Solution code:
N = int(input())
out = ["AC","WA","TLE","RE"]
output = [0]*4

print(output)
for _ in range(N):
    S = input()
    if S == out[0]:
        output[0] += 1
    elif S == out[1]:
        output[1] += 1
    elif S == out[2]:
        output[2] += 1
    else:
        output[3] += 1

print(out[0],"x",output[0])
print(out[1],"x",output[1])
print(out[2],"x",output[2])
print(out[3],"x",output[3],end="")

Submission status: Wrong Answer

Solution code:
n=int(input())
ct=0
count=0
a=0
b=0

for i in range(1,n+1):
    s=input()
    if(s=="AC"):
        ct=ct+1
    elif(s=="WA"):
        count=count+1
    elif(s=="TLE"):
        a=a+1
    elif(s=="Re"):
        b=b+1
print("AC x",ct)
print("WA x",count)
print("TLE x",a)
print("RE x",b)

Submission status: Wrong Answer

Solution code:
n=int(input())
c1=0
c2=0
c3=0
c4=0
s1='AC'
s2='WA'
s3='TLE'
s4='RE'
for _ in range(n):
	str1=str(input())
	if(str1=='AC'):
		c1=c1+1
	elif(str1=='WA'):
		c2=c2+1
	elif(str1=='TLE'):
		c3=c3+1
	elif(str1=='RE'):
		c4=c4+1
s1=s1+' ' + '*' + ' ' + str(c1)
s2=s2+' ' + '*' + ' ' + str(c2)
s3=s3+' ' + '*' + ' ' + str(c3)
s4=s4+' ' + '*' + ' ' + str(c4)

print(s1)
print(s2)
print(s3)
print(s4)

Submission status: Wrong Answer

Solution code:
n=int(input())
c1=0
c2=0
c3=0
c4=0
s1='AC'
s2='WA'
s3='TLE'
s4='RA'
for _ in range(n):
	str1=str(input())
	if(str1=='AC'):
		c1=c1+1
	elif(str1=='WA'):
		c2=c2+1
	elif(str1=='TLE'):
		c3=c3+1
	elif(str1=='RA'):
		c4=c4+1
s1=s1+' ' + '*' + ' ' + str(c1)
s2=s2+' ' + '*' + ' ' + str(c2)
s3=s3+' ' + '*' + ' ' + str(c3)
s4=s4+' ' + '*' + ' ' + str(c4)

print(s1)
print(s2)
print(s3)
print(s4)

Submission status: Wrong Answer

Solution code:
N = int(input())
out = ["AC","WA","TLE","RE"]
output = [0]*4

print(output)
for _ in range(N):
    S = input()
    if S == out[0]:
        output[0] += 1
    elif S == out[1]:
        output[1] += 1
    elif S == out[2]:
        output[2] += 1
    else:
        output[3] += 1

for i in range(4):
    print(out[i],"x",output[i])

Submission status: Wrong Answer

Solution code:
n=int(input())
d=dict() 
d["AC"]=0
d["WA"]=0
d["TLE"]=0
d["RE"]=0
for i in range(n): 
  s=str(input()) 
  d[s]+=1
print("AC ×",end=" ")
print(d["AC"])
print("WA ×",end=" ")
print(d["WA"])
print("TLE ×",end=" ")
print(d["TLE"]) 
print("RE ×",end=" ") 
print(d["RE"])

Submission status: Wrong Answer

Solution code:
import sys
na=0
nw=0
nt=0
nr=0
i = int(input())
for n in range(i):
    a=input()
    if a=="AC":
        na= na +1
    elif a=="WA":
        nw= nw+1
    elif a=="TLE":
        nt=nt+1
    else:
        nr=nr+1
print('AC ×',na)
print('WA ×',nw)
print('TLE ×',nt)
print('RE ×',nr)