Skip to content

Commit

Permalink
chore: day 18
Browse files Browse the repository at this point in the history
  • Loading branch information
shiwangi-07 committed Apr 11, 2024
1 parent fb8aefb commit 2ff3f43
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 0 deletions.
16 changes: 16 additions & 0 deletions Easy/Day 18/problem.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
You are given a string s and it represents a valid date in the year 2019 in the yyyy/mm/dd format.
You have to find out if the date given by s is before 30 APRIL 2019 or not.

----------------------------------------------------------------------------------------------------------------------------------------------------------------------

Input:
First and only line of input contains a string s - a valid date in the year 2019 in the yyyy/mm/dd format.

----------------------------------------------------------------------------------------------------------------------------------------------------------------------

Print "Yes" if the date given is before 30 APRIL 2019, "No" otherwise.

----------------------------------------------------------------------------------------------------------------------------------------------------------------------

Time Limit: 1 sec
Memory Limit: 1024 MB
13 changes: 13 additions & 0 deletions Easy/Day 18/sample_tc.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
Sample Input 1:
2019/04/30

Sample Output 1:
Yes

----------------------------------------------------------------------------------------------------------------------------------------------------------------------

Sample Input 2:
2019/11/01

Sample Output 2:
No
1 change: 1 addition & 0 deletions Easy/Day 18/solution.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
// Write your code here.

0 comments on commit 2ff3f43

Please sign in to comment.