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

MD. Jalal Uddin

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 |

Solve/Submission

# | User | Language | Timing |
---|---|---|---|

01 | MarufAhmed | Cpp14 | 0.00s |

02 | The_Viper | Cpp14 | 0.00s |

03 | rayhan50001 | Cpp14 | 0.00s |

04 | Sharif_42 | Cpp14 | 0.00s |

05 | joy25896 | Cpp14 | 0.00s |

06 | Aman_khan | Cpp14 | 0.00s |

07 | ronok_cse | Cpp14 | 0.00s |

08 | Abdullah2222 | Cpp14 | 0.00s |

09 | Ashish972 | Cpp14 | 0.00s |

10 | maxhasan | Cpp14 | 0.00s |

11 | ash12 | Cpp14 | 0.00s |

12 | gazi93 | Cpp14 | 0.00s |

13 | golapraj | Cpp14 | 0.00s |

14 | rabib | Cpp14 | 0.00s |

15 | gulzar | Cpp14 | 0.00s |

16 | Kira | Cpp14 | 0.00s |

17 | terminator_c | Cpp14 | 0.00s |

18 | iftekher2283 | Cpp14 | 0.00s |

19 | rykamol | Cpp14 | 0.00s |

20 | badhansen123 | Cpp14 | 0.00s |

21 | absa1am | Cpp14 | 0.00s |

22 | ammasum | Cpp14 | 0.00s |

23 | Iqbal1013 | Cpp14 | 0.00s |

24 | Mhkhaled | Cpp14 | 0.00s |

25 | lazyfahim | Cpp14 | 0.00s |

26 | sazal_dev | Cpp14 | 0.00s |

27 | zitul_mahmud | Cpp14 | 0.00s |

28 | nuralam | Cpp14 | 0.00s |

29 | zunayeds | Cpp14 | 0.00s |

30 | hrOarr | Cpp14 | 0.00s |

31 | shayekh01 | Cpp14 | 0.00s |

32 | SakibAlamin | Cpp14 | 0.00s |

33 | Snails_AR_Munna | Cpp14 | 0.00s |

34 | Rafsan35 | Cpp14 | 0.00s |

35 | Nazmul0092 | Cpp14 | 0.00s |

36 | giash_uddin | Cpp14 | 0.00s |

37 | Adyel | Cpp14 | 0.00s |

38 | Rawnak | Cpp14 | 0.00s |

39 | deder | Cpp14 | 0.00s |

40 | abd007 | Cpp14 | 0.00s |

41 | HM39 | Cpp14 | 0.00s |

42 | nazmul_bzs | Cpp14 | 0.00s |

43 | Aizen | Cpp14 | 0.00s |

44 | subhashis_cse | Cpp14 | 0.00s |

45 | Himon_PUST | Cpp14 | 0.00s |

46 | Nazmul_7 | Cpp14 | 0.00s |

47 | kamran07 | Cpp14 | 0.00s |

48 | rashidulhasan777 | Cpp14 | 0.00s |

49 | Not_Found0001 | Cpp14 | 0.00s |

50 | Koushik54 | Cpp14 | 0.00s |

Copyright © 2015-2016 Dev Skill.

Feedback
#### Your feedback is our precious!

## Thank you for providing feedback! Our developers will be happy :)

## Sorry there was a problem when submitting the feedback. Please try again. :(