fork download
  1. using System;
  2.  
  3. namespace Tablice
  4. {
  5. class Program
  6. {
  7. static void Main(string[] args)
  8. {
  9. int iPowtorzenia;
  10. string sCiag;
  11. iPowtorzenia = Convert.ToInt32(Console.ReadLine());
  12.  
  13. for (int i = 0; i < iPowtorzenia; i++)
  14. {
  15. sCiag = Console.ReadLine();
  16.  
  17. char[] cChar = sCiag.ToCharArray();
  18. Array.Reverse(cChar);
  19. sCiag = new string (cChar);
  20. sCiag = sCiag.Remove(sCiag.Length-1);
  21. Console.WriteLine(sCiag);
  22. }
  23.  
  24. }
  25. }
  26. }
  27.  
Success #stdin #stdout 0.01s 131776KB
stdin
Standard input is empty
stdout
Standard output is empty