From 01e23ec487c793e85586b9c716f99117f77eb457 Mon Sep 17 00:00:00 2001 From: ayushcodes0 Date: Fri, 12 Apr 2024 12:16:04 +0530 Subject: [PATCH] feat: solution of day 18 easy --- Easy/Day 18/solution.cpp | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/Easy/Day 18/solution.cpp b/Easy/Day 18/solution.cpp index 2084d29..0074467 100644 --- a/Easy/Day 18/solution.cpp +++ b/Easy/Day 18/solution.cpp @@ -1 +1,16 @@ -// Write your code here. \ No newline at end of file +// Write your code here. +#include +using namespace std; + +int main(){ + string s; + cin>>s; + if(s[5] == '0' && s[6] <= '4'){ + cout<<"Yes"<