Skip to content

Commit 3335bbe

Browse files
committed
Added 1772A - A+B?.cpp
1 parent a740e17 commit 3335bbe

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

1772A - A+B.cpp

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
// ॐ नमः शिवाय
2+
#include<bits/stdc++.h>
3+
using namespace std;
4+
5+
// Code Written By: Vikash Patel
6+
// Codeforces Profile: https://codeforces.com/profile/vikashpatel
7+
8+
int main()
9+
{
10+
int t;
11+
cin>>t;
12+
while(t--)
13+
{
14+
string s;
15+
cin>>s;
16+
cout<<s[0]-'0'+s[2]-'0'<<endl;
17+
}
18+
}

0 commit comments

Comments
 (0)