Round 1 : Find the Victim.
Question Overview
First up, in the evening, you have been tasked with identifying the victim.
tbd
Output:
i) For each test case, your mission guide has told you to output a single line containing
Case (A): B1, B2 , B3, ….. BQ, whereby A is the test case number that begins from 1, and yi is the answer to the i-th query in the input.
ii) To determine the blood type code, calculate the sum of all digits in Case Test 6.
Hint: A substring is a contiguous sequence of characters that appears within another string, maintaining the same order of characters.
However, due to the complex nature of the mission, your mission guide has informed you that there are numerous limits to be followed.
Limits:
– T is greater than or equal to 1 but less than or equal to 100
– Pi is greater than or equal to 1 but less than or equal to the length of X
– Si is greater than or equal to 1 but less than or equal to the length of Y
Enter Here