Task: | DNA sequence |
Sender: | zah |
Submission time: | 2016-05-28 11:06:23 +0300 |
Language: | Python3 |
Status: | READY |
Result: | TIME LIMIT EXCEEDED |
test | verdict | time | |
---|---|---|---|
#1 | TIME LIMIT EXCEEDED | -- | details |
Code
dna = input() n=int(input()) for i in range(n): if input() in dna: print("YES") else: print("NO")