Submit | All submissions | Best solutions | Back to list |
STRHH - Half of the half |
Given a sequence of 2*k characters, please print every second character from the first half of the sequence. Start printing with the first character.
Input
In the first line of input you are given the positive integer t (1<=t<=100) - the number of test cases. In the each of the next t lines, you are given a sequence of 2*k (1<=k<=100) characters.
Output
For each of the test cases please please print every second character from the first half of a given sequence (the first character should appear).
Example
Input: 4 your progress is noticeable Output: y po i ntc
Added by: | kuszi |
Date: | 2012-09-01 |
Time limit: | 1s-1.289s |
Source limit: | 50000B |
Memory limit: | 1536MB |
Cluster: | Cube (Intel G860) |
Languages: | All except: ASM64 |
hide comments
|
||||||||||||||
2015-08-27 09:54:57
why my code is working in ideone.com but here its says wrong answer!!!.. |