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 1.00
C++ 1.00
C++14 1.00
C# 2.00
Go 2.00
Java 2.00
JavaScript 2.00
Objective-C 2.00
Perl 2.00
PHP 2.00
Python 2.00
Python3 2.00
Ruby 2.00
VB.Net 2.00

Problem Stats

265/889

Solve/Submission

Ranking

# User Language Timing
01 ATIK161 Cpp14 0.00s
02 return_SS Cpp14 0.00s
03 Mubeen Cpp14 0.00s
04 ronok_cse Cpp14 0.00s
05 Abdullah2222 Cpp14 0.00s
06 Masum_ice Cpp14 0.00s
07 maxhasan Cpp14 0.00s
08 lazyfahim Cpp14 0.00s
09 Kira Cpp14 0.00s
10 gazi93 Cpp14 0.00s
11 sharifulalam Cpp14 0.00s
12 The_Viper Cpp14 0.00s
13 golapraj Cpp14 0.00s
14 gulzar Cpp14 0.00s
15 Indro_BU Cpp14 0.00s
16 Avijeet Cpp14 0.00s
17 jayed_al_hasan Cpp14 0.00s
18 iftekher2283 Cpp14 0.00s
19 ash12 Cpp14 0.00s
20 Mr_KAJOL_JUST Cpp14 0.00s
21 ProMAGFAT Cpp14 0.00s
22 m_rony Cpp14 0.00s
23 Khayrul_34 Cpp14 0.00s
24 nuralam Cpp14 0.00s
25 Iqbal1013 Cpp14 0.00s
26 shawon100 Cpp14 0.00s
27 joy25896 Cpp14 0.00s
28 MAHRahat Cpp14 0.00s
29 zitul_mahmud Cpp14 0.00s
30 Dragon_162 Cpp14 0.00s
31 kamolroy9943 Cpp14 0.00s
32 terminator_c Cpp14 0.00s
33 Nazmul0092 Cpp14 0.00s
34 biswajitdas Cpp14 0.00s
35 gsshanto Cpp14 0.00s
36 Rafsan35 Cpp14 0.00s
37 giash_uddin Cpp14 0.00s
38 muhaimin Cpp14 0.00s
39 HM39 Cpp14 0.00s
40 abufarhad Cpp14 0.00s
41 nazmul_bzs Cpp14 0.00s
42 Core_i14 Cpp14 0.00s
43 beginer Cpp14 0.00s
44 non_coder Cpp14 0.00s
45 Mhkhaled Cpp14 0.00s
46 seyedssz Cpp14 0.00s
47 tico88612 Cpp14 0.00s
48 Ruhul1975 Cpp14 0.00s
49 Aizen Cpp14 0.00s
50 susmoys Cpp14 0.00s
Feedback

Your feedback is our precious!



Or call +88 02 9853138 for support