From 0f1a818bce46c273023796f0d319aa601938e1cf Mon Sep 17 00:00:00 2001 From: ShazidMahsrafi Date: Fri, 30 Jun 2023 00:18:21 +0600 Subject: [PATCH] initial commit --- 1742A Sum/1742A.cpp | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 1742A Sum/1742A.cpp diff --git a/1742A Sum/1742A.cpp b/1742A Sum/1742A.cpp new file mode 100644 index 0000000..0de9a6d --- /dev/null +++ b/1742A Sum/1742A.cpp @@ -0,0 +1,33 @@ +#include +using namespace std; +using ll = long long; + +void solve() +{ + int a,b,c; + cin>>a>>b>>c; + if(a==b+c) + { + cout<<"YES"<> TC; + cin.ignore(); + while (TC--) solve(); +} \ No newline at end of file