2850: ABC173B - Judge Status Summary
محدودیت حجمی:128 MB
محدودیت زمانی:1.000 S
Judge Style:Text Compare
Creator:
ارسال:13
مسائل حل کرده:6
توضیحات
Time Limit: 2 sec / Memory Limit: 1024 MB
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≤i≤N), you are given a string Si 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.
The problem has N test cases.
For each test case i (1≤i≤N), you are given a string Si 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≤N≤105
- Si is AC, WA, TLE, or RE.
ورودی
Input is given from Standard Input in the following format:
NS1⋮SN
خروجی
Let C0, C1, C2, and C3 be the numbers of test cases for which the verdict is AC, WA, TLE, and RE, respectively. Print the following:
AC x C0
WA x C1
TLE x C2
RE x C3
نمونه وردی Copy
6
AC
TLE
AC
AC
WA
TLE
نمونه خروجی Copy
AC x 3
WA x 1
TLE x 2
RE x 0