Skip to content

Commit

Permalink
Merge pull request #92 from ayushcodes0/ayushday18
Browse files Browse the repository at this point in the history
feat: solution of day 18 easy
  • Loading branch information
shiwangi-07 authored Apr 12, 2024
2 parents a13c364 + 01e23ec commit e680d0d
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion Easy/Day 18/solution.cpp
Original file line number Diff line number Diff line change
@@ -1 +1,16 @@
// Write your code here.
// Write your code here.
#include <bits/stdc++.h>
using namespace std;

int main(){
string s;
cin>>s;
if(s[5] == '0' && s[6] <= '4'){
cout<<"Yes"<<endl;
}
else {
cout<<"No"<<endl;
}

return 0;
}

0 comments on commit e680d0d

Please sign in to comment.