Submission #1606210


Source Code Expand

import sys
N = int(sys.stdin.readline())
data = [0] * 10000
for i in map(int,sys.stdin.readline().split()):
	data[i] += 1
print(max(map(sum,zip(data,data[1:],data[2:]))))

Submission Info

Submission Time
Task C - Together
User memoa
Language Python (3.4.3)
Score 0
Code Size 177 Byte
Status RE
Exec Time 43 ms
Memory 10152 KB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 0 / 300
Status
AC × 2
RE × 1
AC × 3
RE × 6
Set Name Test Cases
Sample 0_000.txt, 0_001.txt, 0_002.txt
All 0_000.txt, 0_001.txt, 0_002.txt, 1_003.txt, 1_004.txt, 1_005.txt, 1_006.txt, 1_007.txt, 1_008.txt
Case Name Status Exec Time Memory
0_000.txt AC 18 ms 3188 KB
0_001.txt AC 19 ms 3188 KB
0_002.txt RE 17 ms 3060 KB
1_003.txt RE 17 ms 3060 KB
1_004.txt AC 43 ms 4148 KB
1_005.txt RE 24 ms 10152 KB
1_006.txt RE 25 ms 10152 KB
1_007.txt RE 24 ms 10152 KB
1_008.txt RE 25 ms 10036 KB