Skip to content

Commit

Permalink
ABC367A Shout Everyday
Browse files Browse the repository at this point in the history
  • Loading branch information
Vicfred committed Aug 26, 2024
1 parent 0647d74 commit 8eb9d73
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions atcoder/abc367a_shout_everyday.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
// Vicfred
// https://atcoder.jp/contests/abc367/tasks/abc367_a
// implementation
#include <iostream>

using namespace std;

int main() {
int A, B, C;
cin >> A >> B >> C;
if (B > C) {
if(A > C and A < B) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
return 0;
}
if (A < B or A >= C) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
return 0;
}

0 comments on commit 8eb9d73

Please sign in to comment.