From 3d5610fdb9e875edce3606e93d8e010dd0179c44 Mon Sep 17 00:00:00 2001 From: tiennm99 Date: Fri, 28 Nov 2025 23:45:47 +0700 Subject: [PATCH] feat(cpp): add aplusb --- cpp/aplusb.cpp | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 cpp/aplusb.cpp diff --git a/cpp/aplusb.cpp b/cpp/aplusb.cpp new file mode 100644 index 0000000..3175201 --- /dev/null +++ b/cpp/aplusb.cpp @@ -0,0 +1,17 @@ +#include +using namespace std; + +int main() { + ios::sync_with_stdio(false); + cin.tie(nullptr); + + int N; + cin >> N; + + while (N--) { + long long a, b; + cin >> a >> b; + cout << a + b << "\n"; + } + return 0; +}