swab by Paul

using C=System.Console;class P{static void Main(){string l="",s = C.ReadLine();int i;while(s!=null){l+=s+"\n";s=C.ReadLine();}for(i=0;i<l.Length;i+=2){s+=i+1<l.Length?l.Substring(i+1,1):"";s+=l.Substring(i,1);}C.WriteLine(s);}}

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page