Submission #9393373


Source Code Expand

Copy
import sys
read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines

_,S = read().split()

answer = S.count(b'ABC')
print(answer)

Submission Info

Submission Time
Task B - Count ABC
User maspy
Language Python (3.4.3)
Score 200
Code Size 185 Byte
Status AC
Exec Time 17 ms
Memory 2940 KB

Judge Result

Set Name All Sample
Score / Max Score 200 / 200 0 / 0
Status
AC × 13
AC × 3
Set Name Test Cases
All random_0.txt, random_1.txt, random_2.txt, random_3.txt, random_4.txt, sample_01.txt, sample_02.txt, sample_03.txt, testcase_01.txt, testcase_02.txt, testcase_03.txt, testcase_04.txt, testcase_05.txt
Sample sample_01.txt, sample_02.txt, sample_03.txt
Case Name Status Exec Time Memory
random_0.txt AC 17 ms 2940 KB
random_1.txt AC 17 ms 2940 KB
random_2.txt AC 17 ms 2940 KB
random_3.txt AC 17 ms 2940 KB
random_4.txt AC 17 ms 2940 KB
sample_01.txt AC 17 ms 2940 KB
sample_02.txt AC 17 ms 2940 KB
sample_03.txt AC 17 ms 2940 KB
testcase_01.txt AC 17 ms 2940 KB
testcase_02.txt AC 17 ms 2940 KB
testcase_03.txt AC 17 ms 2940 KB
testcase_04.txt AC 17 ms 2940 KB
testcase_05.txt AC 17 ms 2940 KB