Submission #6058610


Source Code Expand

Copy
a = str(input())

if (a[-1] == a[-2]) or (a[-2] == a[-3]) or (a[-3] == a[-4]):
    print('Bad')
else:
    print('Good')

Submission Info

Submission Time
Task A - Security
User keisan114514
Language Python3 (3.4.3)
Score 100
Code Size 126 Byte
Status
Exec Time 17 ms
Memory 2940 KB

Test Cases

Set Name Score / Max Score Test Cases
Sample 0 / 0 sample_01.txt, sample_02.txt, sample_03.txt, sample_04.txt
Subtask1 100 / 100 sample_01.txt, sample_02.txt, sample_03.txt, sample_04.txt, sub1_01.txt, sub1_02.txt, sub1_03.txt, sub1_04.txt, sub1_05.txt, sub1_06.txt, sub1_07.txt, sub1_08.txt, sub1_09.txt
Case Name Status Exec Time Memory
sample_01.txt 17 ms 2940 KB
sample_02.txt 17 ms 2940 KB
sample_03.txt 17 ms 2940 KB
sample_04.txt 17 ms 2940 KB
sub1_01.txt 17 ms 2940 KB
sub1_02.txt 17 ms 2940 KB
sub1_03.txt 17 ms 2940 KB
sub1_04.txt 17 ms 2940 KB
sub1_05.txt 17 ms 2940 KB
sub1_06.txt 17 ms 2940 KB
sub1_07.txt 17 ms 2940 KB
sub1_08.txt 17 ms 2940 KB
sub1_09.txt 17 ms 2940 KB