CSES - HIIT Open 2016 - Results
Submission details
Task:DNA sequence
Sender:zah
Submission time:2016-05-28 11:06:23 +0300
Language:Python3
Status:READY
Result:
Test results
testverdicttime
#1--details

Code

dna = input()
n=int(input())
for i in range(n):
	if input() in dna:
		print("YES")
	else:
		print("NO")

Test details

Test 1

Verdict:

input
ACGCGGGCTCCTAGCGTTAGCAGTTGAGTG...

correct output
YES
YES
NO
NO
YES
...

user output
(empty)