Submission #7469912


Source Code Expand

Copy
# 2019/09/12

n=int(input())
C=input()

a=C.count('1')
b=C.count('2')
c=C.count('3')
d=C.count('4')

print(max(a,b,c,d),min(a,b,c,d))

Submission Info

Submission Time
Task A - センター採点
User calei
Language Python (3.4.3)
Score 100
Code Size 143 Byte
Status
Exec Time 17 ms
Memory 3060 KB

Judge Result

Set Name Score / Max Score Test Cases
All 100 / 100 00_sample1.txt, 00_sample2.txt, 01_rnd_00.txt, 01_rnd_01.txt, 01_rnd_02.txt, 01_rnd_03.txt, 01_rnd_04.txt, 01_rnd_05.txt, 01_rnd_06.txt, 01_rnd_07.txt, 01_rnd_08.txt, 01_rnd_09.txt, 01_rnd_10.txt, 01_rnd_11.txt, 01_rnd_12.txt, 01_rnd_13.txt, 01_rnd_14.txt, 01_rnd_15.txt, 01_rnd_16.txt, 01_rnd_17.txt, 01_rnd_18.txt, 01_rnd_19.txt, 02_all_1.txt, 02_all_2.txt, 02_all_3.txt, 02_all_4.txt, 03_mini_1.txt, 03_mini_2.txt, 03_mini_3.txt, 03_mini_4.txt
Case Name Status Exec Time Memory
00_sample1.txt 17 ms 3060 KB
00_sample2.txt 17 ms 3060 KB
01_rnd_00.txt 17 ms 3060 KB
01_rnd_01.txt 17 ms 3060 KB
01_rnd_02.txt 17 ms 3060 KB
01_rnd_03.txt 17 ms 2940 KB
01_rnd_04.txt 17 ms 3060 KB
01_rnd_05.txt 17 ms 2940 KB
01_rnd_06.txt 17 ms 2940 KB
01_rnd_07.txt 17 ms 2940 KB
01_rnd_08.txt 17 ms 3060 KB
01_rnd_09.txt 17 ms 2940 KB
01_rnd_10.txt 17 ms 2940 KB
01_rnd_11.txt 17 ms 2940 KB
01_rnd_12.txt 17 ms 2940 KB
01_rnd_13.txt 17 ms 2940 KB
01_rnd_14.txt 17 ms 3060 KB
01_rnd_15.txt 17 ms 2940 KB
01_rnd_16.txt 17 ms 2940 KB
01_rnd_17.txt 17 ms 2936 KB
01_rnd_18.txt 17 ms 2936 KB
01_rnd_19.txt 17 ms 3060 KB
02_all_1.txt 17 ms 2940 KB
02_all_2.txt 17 ms 3060 KB
02_all_3.txt 17 ms 2940 KB
02_all_4.txt 17 ms 2940 KB
03_mini_1.txt 17 ms 2940 KB
03_mini_2.txt 17 ms 2940 KB
03_mini_3.txt 17 ms 2936 KB
03_mini_4.txt 17 ms 2940 KB