DCP-85: Tomorrow is Eid !! Back to All Problems

Beginner Beginners Problems > Ad-hoc


Little Orthi is eagerly waiting for Eid. Now this is the month of Ramadan. This month could be of 29 days or 30 days. As Orthi is very much excited about the Eid so one evening she go to her mother and told her that she has seen the moon. Your job is to find out if tomorrow is Eid or not . Input: ------ Input consist of one integer number N . 0 < N <= 30 is the date of that Ramadan. Output: ------- If it is possible that tomorrow is Eid then print "YES" or otherwise print "NO" in a single line. Sample Input ------------ 5 ------------ 30 Sample Output ------------- NO ------------- YES


Problem Setter:

Sifat Rabbi

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# 3.00
Go 3.00
Java 3.00
JavaScript 3.00
Objective-C 3.00
Perl 3.00
PHP 3.00
Python 3.00
Python3 3.00
Ruby 3.00
VB.Net 3.00

Problem Stats

492/867

Solve/Submission

Ranking

# User Language Timing
01 hashtagONE Cpp14 0.00s
02 leenaiitju Cpp14 0.00s
03 jualahmed Cpp14 0.00s
04 JubayerSohel Cpp14 0.00s
05 Aman_khan Cpp14 0.00s
06 joy25896 Cpp14 0.00s
07 Indro_BU Cpp14 0.00s
08 Mehedi07 Cpp14 0.00s
09 rafsandevs Cpp14 0.00s
10 jayed_al_hasan Cpp14 0.00s
11 maxhasan Cpp14 0.00s
12 gazi93 Cpp14 0.00s
13 terminator_c Cpp14 0.00s
14 mamunparvez Cpp14 0.00s
15 Ansarul_14 Cpp14 0.00s
16 rezaul_karim Cpp14 0.00s
17 Nurul_CSE Cpp14 0.00s
18 m_rony Cpp14 0.00s
19 ammasum Cpp14 0.00s
20 SakibAlamin Cpp14 0.00s
21 wizard Cpp14 0.00s
22 sadia2427 Cpp14 0.00s
23 Core_i14 Cpp14 0.00s
24 non_coder Cpp14 0.00s
25 marineCoder Cpp14 0.00s
26 Koushik54 Cpp14 0.00s
27 nazmul_bzs Cpp14 0.00s
28 Mr_KAJOL Cpp14 0.00s
29 Mhkhaled Cpp14 0.00s
30 demon Cpp14 0.00s
31 rashidulhasan777 Cpp14 0.00s
32 raktim Cpp14 0.00s
33 junayedmahmud Cpp14 0.00s
34 afzalul Cpp14 0.00s
35 Moon Cpp14 0.00s
36 abd007 Cpp14 0.00s
37 soumitro_cse1604114 Cpp14 0.00s
38 Anika_Bushra Cpp14 0.00s
39 opu1604073 Cpp14 0.00s
40 MUKTO1604100 Cpp14 0.00s
41 Sakif_1604124 Cpp14 0.00s
42 Nusrat_cse16 Cpp14 0.00s
43 Mahadi_Hasan Cpp14 0.00s
44 rabeya1604127 Cpp14 0.00s
45 1604099_ishtiaq Cpp14 0.00s
46 shibli1604128 Cpp14 0.00s
47 Mahadi024 Cpp14 0.00s
48 JAMEE Cpp14 0.00s
49 nahid101 Cpp14 0.00s
50 noyonhossen Cpp14 0.00s
Feedback

Your feedback is our precious!



Or call +88 02 9853138 for support