DCP-483: Mr. Typical Back to All Problems

Beginner Beginners Problems > Ad-hoc

Mr. Typical is a person who always follows the accuracy of anything. Typical’s grandfather was a computer science geek. In his childhood, he taught that there is only two decisions in the world True or False, Yes or No. From his boyhood, Mr. Typical is always following the rule. Once Typical noticed that his grandfather has written a quote on the wall “**never be so happy when you are happy and never be so sad when you are sad**” .One day Typical’s friend John Snow asked a word “never” to him and said, “Is it there?” Mr. Typical replied “YES” Input: ------ Each line contains a lowercase word S. Summation of length of all S could be at most 100000. Output: ------- If the word S is in the quote written on the wall print “YES” and if not there print “NO” without quote. Sample Input ------------ never ever so clever Sample Output ------------- YES NO YES NO

Problem Setter:

Humaun Kabir

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




# User Language Timing
01 sk23 Cpp 0.00s
02 profake Cpp 0.00s
03 hamza133913 Cpp 0.00s
04 anik_JU Cpp 0.00s
05 SakibAlamin Cpp14 0.00s
06 Arpan_cse_2k14 Cpp 0.00s
07 Anik_Modak Cpp 0.00s
08 mh755628 Cpp 0.00s
09 badassiumoxide Cpp 0.00s
10 Masum_ice Cpp 0.00s
11 inam Cpp 0.00s
12 t0whid Cpp 0.00s
13 FariD Cpp14 0.00s
14 Riad_IIT7 Cpp14 0.00s
15 motaleb_ICT Cpp 0.00s
16 Sagor Cpp 0.00s
17 Mr_KAJOL Cpp 0.00s
18 shishir09 Cpp14 0.00s
19 Zihad C 0.00s
20 QuwsarOhi Cpp14 0.00s
21 susmoys Cpp 0.00s
22 pritom98 Cpp14 0.00s
23 duronto20 Cpp 0.00s
24 Naim_BSMRSTU Cpp 0.00s
25 ArifKhanShubro Cpp 0.00s
26 MNIR Cpp 0.00s
27 burhan103335 Cpp 0.00s
28 pulak_ict_mbstu Cpp 0.00s
29 factoradic Cpp 0.00s
30 Satkhira Cpp 0.00s
31 milon019 C 0.00s
32 deder Cpp 0.00s
33 Ramprosad Cpp14 0.00s
34 monir769 Cpp14 0.00s
35 lu_rummanrahib Cpp 0.00s
36 Dhrubo020 Cpp 0.00s
37 Whit3space Cpp 0.00s
38 quazi_adib Cpp14 0.00s
39 shahidullah_anik Cpp 0.00s
40 Misu_Dey Cpp 0.00s
41 Tufahel Cpp 0.00s
42 Shadin Cpp14 0.00s
43 Dragon_Curve Cpp 0.00s
44 muradhossen Cpp 0.00s
45 Fahim_41 Cpp 0.00s
46 0o_o0 Cpp 0.00s
47 shekhar_kuet Cpp 0.00s
48 kheya Cpp 0.00s
49 Niaz_Bin_Siraj Cpp 0.00s
50 likhon5 Cpp 0.00s

Your feedback is our precious!

Or call +88 02 9853138 for support