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/C++ 1.00
Java 2.00
C# 2.00
PHP 2.00

Problem Stats

117/511

Solve/Submission

Ranking

# User Language Timing
01 MarufAhmed Cpp 0.00s
02 The_Viper Cpp 0.00s
03 rayhan50001 Cpp 0.00s
04 Sharif_42 Cpp 0.00s
05 joy25896 Cpp 0.00s
06 Aman_khan Cpp 0.00s
07 ronok_cse Cpp 0.00s
08 maxhasan Cpp 0.00s
09 ash12 Cpp 0.00s
10 gazi93 Cpp 0.00s
11 golapraj Cpp 0.00s
12 rabib Cpp 0.00s
13 gulzar Cpp 0.00s
14 Kira Cpp 0.00s
15 Abdullah2222 Cpp 0.00s
16 Ashish972 Cpp 0.00s
17 ishrafislam2727 Cpp 0.00s
18 lazyfahim Cpp 0.00s
19 terminator_c Cpp 0.00s
20 iftekher2283 Cpp 0.00s
21 kamolroy9943 Cpp 0.00s
22 badhansen123 Cpp 0.00s
23 absa1am Cpp 0.00s
24 Masum_ice Cpp 0.01s
25 jayed_al_hasan Cpp 0.01s
26 Mubeen Cpp 0.01s
27 tanmoycsit CSharp 0.02s
28 anis Cpp 0.06s
29 akram Cpp 0.07s
30 rezaul_karim Cpp 0.07s
31 SkSaber Cpp 0.07s
32 hasanMehedi Cpp 0.07s
33 Uap_Amit Cpp 0.07s
34 Rakib7269 Cpp 0.07s
35 mahrahat Cpp 0.07s
36 chinmoysaha Cpp 0.08s
37 Faridur Cpp 0.08s
38 NEUBAkash Cpp 0.08s
39 simantaturja Cpp 0.08s
40 Dinar Cpp 0.08s
41 abdurrahmanriyad Cpp 0.09s
42 captain_cool Cpp 0.18s
43 cse_nazmul Cpp 0.18s
44 akib9ctg Cpp 0.18s
45 MasudParves Cpp 0.20s
46 ImaginativeShohag Cpp 0.21s
47 anwar3606 Cpp 0.21s
48 monsurmp Cpp 0.22s
49 csesabbir Cpp 0.22s
50 marineCoder Cpp 0.22s
Feedback

Your feedback is our precious!



Or call +88 02 9853138 for support