/ SeriousOJ /

Record Detail

Runtime Error


  
# Status Time Cost Memory Cost
#1 Runtime Error Traceback (most recent call last): File "foo.py", line 8, in <module> IndexError: string index out of range 15ms 3.121 MiB
#2 Runtime Error Traceback (most recent call last): File "foo.py", line 8, in <module> IndexError: string index out of range 14ms 2.984 MiB

Code

t = int(input())

for _ in range(t):
	s = input()
	n = input()
	
	for i in range(len(s)):
		if n[i] in s:
			True
		i = i+1
	while True:
		print("YES")
	while False:
		print("NO")
		
			

Information

Submit By
Type
Submission
Problem
P1020 Favourite footballer
Contest
Brain booster - 1
Language
Python 3 (Python 3.12.3)
Submit At
2023-12-31 16:53:28
Judged At
2024-11-11 03:45:00
Judged By
Score
0
Total Time
15ms
Peak Memory
3.121 MiB