DCP-26: Reverse Back to All Problems

Beginner Beginners Problems > Ad-hoc

This is a very simple problem. We give you a string; you reverse it and print it out. The input string will contain ASCII characters only. But it can have space, tabs etc. as well. The end of the string will be always by new line character. Input: ------ Input starts with an integer **T (≤ 30)**, denoting the number of test cases. Each test case will have one line containing the string to reverse. Length of the strings will be less than 1000 characters. Output: ------- For each test case, print the reversed string on a line. Check sample input / output below to understand the format. Sample Input ------------ 3 Reverse eye I am at home. Sample Output ------------- esreveR eye .emoh ta ma I

Problem Setter:

MD. Jalal Uddin

Please login to submit solution to this problem.

Problem Limits

Language Time Limit (seconds)
C/C++ 1.00
Java 2.00
C# 2.00
PHP 2.00

Problem Stats




# User Language Timing
01 ATIK161 Cpp 0.00s
02 return_SS Cpp 0.00s
03 ishrafislam2727 Cpp 0.00s
04 Mubeen Cpp 0.00s
05 ronok_cse Cpp 0.00s
06 Abdullah2222 Cpp 0.00s
07 Masum_ice Cpp 0.00s
08 maxhasan Cpp 0.00s
09 lazyfahim Cpp 0.00s
10 Kira Cpp 0.00s
11 gazi93 Cpp 0.00s
12 sharifulalam Cpp 0.00s
13 The_Viper Cpp 0.00s
14 golapraj Cpp 0.00s
15 gulzar Cpp 0.00s
16 Indro_BU Cpp 0.00s
17 Avijeet Cpp 0.00s
18 jayed_al_hasan Cpp 0.00s
19 iftekher2283 Cpp 0.00s
20 ash12 Cpp 0.00s
21 Mr_KAJOL Cpp 0.00s
22 ProMAGFAT Cpp 0.00s
23 m_rony Cpp 0.00s
24 Khayrul_34 Cpp 0.00s
25 nuralam Cpp 0.00s
26 Iqbal1013 Cpp 0.00s
27 shawon100 Cpp 0.00s
28 joy25896 Cpp 0.00s
29 mahrahat Cpp 0.00s
30 zitul_mahmud Cpp 0.00s
31 SakibAlamin Cpp 0.00s
32 kamolroy9943 Cpp 0.00s
33 terminator_c Cpp 0.00s
34 Nazmul0092 Cpp 0.00s
35 biswajitdas Cpp 0.00s
36 gsshanto Cpp 0.00s
37 Rafsan35 Cpp 0.00s
38 giash_uddin Cpp 0.00s
39 muhaimin Cpp 0.00s
40 Hasan_Masud Cpp 0.00s
41 abufarhad Cpp 0.00s
42 nazmul_bzs Cpp 0.00s
43 onucsecu Cpp 0.01s
44 AlaminJust Cpp 0.01s
45 deder Cpp 0.01s
46 Ashish972 Cpp 0.01s
47 zunayeds Cpp 0.01s
48 Sojal Cpp 0.01s
49 rabib Cpp 0.01s
50 Aman_khan Cpp 0.01s

Your feedback is our precious!

Or call +88 02 9853138 for support