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

435/1341

Solve/Submission

Ranking

# User Language Timing
01 ash12 Cpp14 0.00s
02 LonelyTanvir Cpp 0.00s
03 shawon100 Cpp14 0.00s
04 iftekher2283 Cpp14 0.00s
05 zitul_mahmud Cpp14 0.00s
06 MAHRahat Cpp14 0.00s
07 CLown1331 Cpp14 0.00s
08 Core_i14 Cpp14 0.00s
09 Saimum_140128 Cpp14 0.00s
10 Nazmul_WUB Cpp14 0.00s
11 Ruman_Hossain Cpp14 0.00s
12 pusku Cpp 0.00s
13 muhaimin Cpp14 0.00s
14 biswajitdas Cpp14 0.00s
15 sherina Cpp 0.00s
16 ronok_cse Cpp14 0.00s
17 reza_ul Cpp14 0.00s
18 Masum_ice Cpp14 0.00s
19 t0whid Cpp14 0.00s
20 Pure_Protea Cpp14 0.00s
21 maxhasan Cpp14 0.00s
22 gazi93 Cpp14 0.00s
23 lazyfahim Cpp14 0.00s
24 joy25896 Cpp14 0.00s
25 shafayet_hossain Cpp 0.00s
26 The_Viper Cpp14 0.00s
27 rykamol Cpp14 0.00s
28 wizard Cpp14 0.00s
29 Aizen Cpp14 0.00s
30 non_coder Cpp14 0.00s
31 mir_lutfur_rahman Cpp 0.00s
32 pulak_ict_mbstu Cpp14 0.00s
33 shahad_mahmud Cpp14 0.00s
34 mohibur Cpp14 0.00s
35 afzalul Cpp14 0.00s
36 abufarhad Cpp14 0.00s
37 giash_uddin Cpp14 0.00s
38 Azman_Amin Cpp14 0.00s
39 sharifulalam Cpp14 0.00s
40 sultan11 C 0.00s
41 mrinmoi Cpp14 0.00s
42 Indro_BU Cpp14 0.00s
43 Tanvirh Cpp 0.00s
44 Akshay C 0.00s
45 themasters_sun Cpp14 0.00s
46 feodorv C 0.00s
47 anik_JU Cpp14 0.00s
48 junayedmahmud Cpp14 0.00s
49 m_rony Cpp14 0.00s
50 mahbubcse095 Cpp 0.00s
Feedback

Your feedback is our precious!



Or call +88 02 9853138 for support