Submission #1782011


Source Code Expand

Copy
n = raw_input()
if (n[0] == n[1] and n[1] == n[2]) or (n[1] == n[2] and n[2] == n[3]):
    print 'Yes'
else:
    print 'No'

Submission Info

Submission Time
Task A - Good Integer
User kcborys
Language Python2 (2.7.6)
Score 100
Code Size 127 Byte
Status
Exec Time 10 ms
Memory 2568 KB

Test Cases

Set Name Score / Max Score Test Cases
Sample 0 / 0 sample_01.txt, sample_02.txt, sample_03.txt
All 100 / 100 01.txt, 02.txt, 03.txt, 04.txt, 05.txt, 06.txt, 07.txt, 08.txt, 09.txt, 10.txt, 11.txt, sample_01.txt, sample_02.txt, sample_03.txt
Case Name Status Exec Time Memory
01.txt 10 ms 2568 KB
02.txt 10 ms 2568 KB
03.txt 10 ms 2568 KB
04.txt 10 ms 2568 KB
05.txt 10 ms 2568 KB
06.txt 10 ms 2568 KB
07.txt 10 ms 2568 KB
08.txt 10 ms 2568 KB
09.txt 10 ms 2568 KB
10.txt 10 ms 2568 KB
11.txt 10 ms 2568 KB
sample_01.txt 10 ms 2568 KB
sample_02.txt 10 ms 2568 KB
sample_03.txt 10 ms 2568 KB