Untitled
user_5668965
c_cpp
a year ago
225 B
33
Indexable
#include <bits/stdc++.h> using namespace std; int main() { int t; cin >> t; while(t--){ string s; cin >> s; cout << (int)s[0] + (int)(s[2]) -96 << endl; } return 0; }
Editor is loading...
Leave a Comment