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 kamolroy9943 Cpp 0.00s
21 terminator_c Cpp 0.00s
22 Sojal Cpp 0.01s
23 rabib Cpp 0.01s
24 Aman_khan Cpp 0.01s
25 Bishal_G CSharp 0.03s
26 mohayemin CSharp 0.04s
27 tanmoycsit CSharp 0.04s
28 Tania PHP 0.04s
29 anis Cpp 0.06s
30 MinhajulAlam Cpp 0.06s
31 hashtagONE Cpp 0.07s
32 Najat Cpp 0.07s
33 Dinar Cpp 0.07s
34 Sabbir2015 Cpp 0.07s
35 Uap_Amit Cpp 0.07s
36 chinmoysaha Cpp 0.07s
37 monsurmp Cpp 0.07s
38 Shaon2710 Cpp 0.07s
39 Nasir78526 Cpp 0.07s
40 Faridur Cpp 0.07s
41 rezaul_karim Cpp 0.08s
42 NEUBAkash Cpp 0.08s
43 SkSaber Cpp 0.08s
44 sajib1412 Cpp 0.08s
45 ih_hira Cpp 0.08s
46 akib9ctg Cpp 0.17s
47 captain_cool Cpp 0.18s
48 cse_nazmul Cpp 0.18s
49 Imtiajul_islam Cpp 0.19s
50 anwar3606 Cpp 0.21s

Your feedback is our precious!

Or call +88 02 9853138 for support