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

509/903

Solve/Submission

Ranking

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

Your feedback is our precious!



Or call +88 02 9853138 for support