DCP-25: Palindrome Back to All Problems

Beginner Beginners Problems > Ad-hoc


A palindrome is a word, phrase, number, or other sequence of characters which reads the same backward or forward. We want you to write a program that can check whether a given input is palindrome or not. The input will only contain English alphabets and digits. Remember, in this task, uppercase and lowercase letter count as same. Input: ------ Input starts with an integer **T (≤ 30)**, denoting the number of test cases. Each test case will have one line containing the text to test. You can assume that each input text will be less than 100 characters in length. Output: ------- For each test case, print either “Yes” (without quotes) or “No” (without quotes). If the input text is palindrome then print “Yes”, otherwise print “No” Sample Input ------------ 3 abababa ababab 1EYE1 Sample Output ------------- Yes No Yes


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

263/1439

Solve/Submission

Ranking

# User Language Timing
01 zunayeds Cpp14 0.00s
02 ash12 Cpp14 0.00s
03 iftekher2283 Cpp14 0.00s
04 zitul_mahmud Cpp14 0.00s
05 badhansen123 Cpp14 0.00s
06 CLown1331 Cpp14 0.00s
07 subhashis_cse Cpp14 0.00s
08 absa1am Cpp14 0.00s
09 Saimum_140128 Cpp14 0.00s
10 Nazmul0092 Cpp14 0.00s
11 pusku Cpp 0.00s
12 Adyel Cpp14 0.00s
13 bpr10ry Cpp14 0.00s
14 sazal_dev Cpp14 0.00s
15 ronok_cse Cpp14 0.00s
16 Najat Cpp 0.00s
17 bengal_tiger Cpp14 0.00s
18 mubdiur Cpp 0.00s
19 maxhasan Cpp14 0.00s
20 gazi93 Cpp14 0.00s
21 lazyfahim Cpp14 0.00s
22 joy25896 Cpp14 0.00s
23 The_Viper Cpp14 0.00s
24 Aman_khan Cpp14 0.00s
25 deder Cpp14 0.00s
26 fearless_hasan Cpp14 0.00s
27 rayhan50001 Cpp14 0.00s
28 r13ayan Cpp14 0.00s
29 kamolroy9943 Cpp14 0.00s
30 Aizen Cpp14 0.00s
31 mir_lutfur_rahman Cpp 0.00s
32 rakibul1415 Cpp14 0.00s
33 shahad_mahmud Cpp14 0.00s
34 mohibur Cpp14 0.00s
35 Glitch Cpp 0.00s
36 afzalul Cpp14 0.00s
37 giash_uddin Cpp14 0.00s
38 mrinmoi Cpp14 0.00s
39 abd007 Cpp14 0.00s
40 junayedmahmud Cpp14 0.00s
41 feodorv C 0.00s
42 anik_JU Cpp14 0.00s
43 Freaky_Weirdo Cpp14 0.00s
44 AlaminJust Cpp14 0.00s
45 SyntaxError10 Cpp14 0.00s
46 gulzar Cpp14 0.00s
47 Mehedi07 Cpp14 0.00s
48 shayekh01 Cpp14 0.00s
49 return_SS Cpp14 0.00s
50 inam Cpp 0.00s
Feedback

Your feedback is our precious!



Or call +88 02 9853138 for support