Submission #169374


Source Code Expand

Copy
n = int(raw_input())
a = []
b = []
for i in range(n):
    a.append(str(raw_input()))

for i in range(n):
    b.append(a.count(a[i]))

print max(b)

Submission Info

Submission Time
Task B - 投票
User kametaso
Language Python (2.7.3)
Score 0
Code Size 157 Byte
Status
Exec Time 54 ms
Memory 3352 KB

Test Cases

Set Name Score / Max Score Test Cases
Sample 0 / 0 sample_01.txt, sample_02.txt, sample_03.txt
All 0 / 100 sample_01.txt, sample_02.txt, sample_03.txt, case_01.txt, case_02.txt, case_03.txt, case_04.txt, case_05.txt, case_06.txt, case_07.txt, case_08.txt, case_09.txt, case_10.txt, case_11.txt, case_12.txt, case_13.txt, case_14.txt, case_15.txt
Case Name Status Exec Time Memory
case_01.txt 54 ms 3268 KB
case_02.txt 46 ms 3264 KB
case_03.txt 46 ms 3264 KB
case_04.txt 46 ms 3264 KB
case_05.txt 49 ms 3268 KB
case_06.txt 46 ms 3260 KB
case_07.txt 46 ms 3260 KB
case_08.txt 46 ms 3264 KB
case_09.txt 46 ms 3352 KB
case_10.txt 46 ms 3272 KB
case_11.txt 46 ms 3268 KB
case_12.txt 46 ms 3260 KB
case_13.txt 46 ms 3260 KB
case_14.txt 47 ms 3320 KB
case_15.txt 46 ms 3268 KB
sample_01.txt 47 ms 3312 KB
sample_02.txt 45 ms 3260 KB
sample_03.txt 46 ms 3260 KB