From 6fd60bd53891c36042d9ed569de90fd4bb03a203 Mon Sep 17 00:00:00 2001 From: vicfred Date: Sun, 11 Aug 2024 18:30:22 -0700 Subject: [PATCH] ABC366A Election 2 --- atcoder/abc366a_election_2.cpp | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 atcoder/abc366a_election_2.cpp diff --git a/atcoder/abc366a_election_2.cpp b/atcoder/abc366a_election_2.cpp new file mode 100644 index 0000000..b8972a3 --- /dev/null +++ b/atcoder/abc366a_election_2.cpp @@ -0,0 +1,17 @@ +// Vicfred +// https://atcoder.jp/contests/abc366/tasks/abc366_a +// implementation +#include + +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; +}