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

464/816

Solve/Submission

Ranking

# User Language Timing
01 demon Cpp14 0.00s
02 CLown1331 Cpp 0.00s
03 hashtagONE Cpp14 0.00s
04 Core_i14 Cpp14 0.00s
05 rabel Cpp 0.00s
06 mamunparvez Cpp14 0.00s
07 raktim Cpp14 0.00s
08 sherina Cpp 0.00s
09 Maruf1355 C 0.00s
10 reza_ul Cpp14 0.00s
11 maxhasan Cpp14 0.00s
12 gazi93 Cpp14 0.00s
13 joy25896 Cpp14 0.00s
14 Aman_khan Cpp14 0.00s
15 wizard Cpp14 0.00s
16 non_coder Cpp14 0.00s
17 pulak_ict_mbstu Cpp14 0.00s
18 mohibur Cpp 0.00s
19 linkon Cpp 0.00s
20 rezaul_karim Cpp14 0.00s
21 afzalul Cpp14 0.00s
22 marineCoder Cpp14 0.00s
23 virus C 0.00s
24 Nurul_CSE Cpp14 0.00s
25 abd007 Cpp14 0.00s
26 junayedmahmud Cpp14 0.00s
27 m_rony Cpp14 0.00s
28 Indro_BU Cpp14 0.00s
29 feodorv C 0.00s
30 Freaky_Weirdo Cpp14 0.00s
31 Mr_KAJOL Cpp14 0.00s
32 Chayti_Saha98 Cpp14 0.00s
33 Ansarul_14 Cpp14 0.00s
34 neel71 C 0.00s
35 leenaiitju Cpp14 0.00s
36 JubayerSohel Cpp14 0.00s
37 Mehedi07 Cpp14 0.00s
38 jualahmed Cpp14 0.00s
39 rafsandevs Cpp14 0.00s
40 Mhkhaled Cpp14 0.00s
41 MarufAhmed Cpp 0.00s
42 Beauty Cpp 0.00s
43 Atika17 Cpp 0.00s
44 terminator_c Cpp14 0.00s
45 Sayma_COU Cpp 0.00s
46 jayed_al_hasan Cpp14 0.00s
47 ammasum Cpp14 0.00s
48 sadia2427 Cpp14 0.00s
49 SakibAlamin Cpp14 0.00s
50 rashidulhasan777 Cpp14 0.00s
Feedback

Your feedback is our precious!



Or call +88 02 9853138 for support