Skip to content

Commit

Permalink
ABC366A Election 2
Browse files Browse the repository at this point in the history
  • Loading branch information
Vicfred committed Aug 12, 2024
1 parent d3fc42e commit 6fd60bd
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions atcoder/abc366a_election_2.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
// Vicfred
// https://atcoder.jp/contests/abc366/tasks/abc366_a
// implementation
#include <iostream>

using namespace std;

int main() {
int N, T, A;
cin >> N >> T >> A;
if (T > N / 2 or A > N / 2) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
return 0;
}

0 comments on commit 6fd60bd

Please sign in to comment.