I/O Map 2

0

0 votes
Easy
Problem

FILE LINK:-Question2 Executable Files

NOTE:- EXECUTABLE FILES ARE DESIGNED TO TAKE INFINITE INPUTS TO FACILITATE SMOOTH TESTING. SO, NUMBER OF TEST CASES IS NOT TO BE PROVIDED AS INPUT IN THEM. REST OF THE INPUT TO BE GIVEN IN EXECUTABLES IS SAME AS SPECIFIED IN THE INPUT FORMAT.

Instructions:

Download file from above specified link, extract it for executable files and open README.txt file for further instructions.

Input Format:

The first line contains an interger denoting number of testcase, thereafter, test cases follow. Each test case has two line of input: First line has an integer i. Second line has string of length i.

Output Format:

For each test case output the answer on a new line.

Constraints:

< T , i < 100

Scan only be small or capital alphabet(a-z or A-Z).

Time Limit: 1
Memory Limit: 256
Source Limit:
Editor Image

?