#include<stdio.h>
#include<string.h>
char
msg[6][101];
void
Encrypt(
int
i)
{
int
j,last;
last =
strlen
(msg[i]);
for
(j=0;j<last;j=j+2)
{
printf
(
"%c"
,msg[i][j]);
}
for
(j=1;j<last;j=j+2)
{
printf
(
"%c"
,msg[i][j]);
}
printf
(
"\n"
);
}
main()
{
int
text_num,text_len;
int
i;
scanf
(
"%d"
,&text_num);
for
(i=0;i<text_num;i++)
{
scanf
(
"%s"
,msg[i]);
}
for
(i=0;i<text_num;i++)
{
Encrypt(i);
}
scanf
(
"%d"
,text_len);
}
[이 게시물은 최고관리자님에 의해 2019-09-20 15:17:47 칭찬릴레이에서 이동 됨]