Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <bits/stdc++.h>
- using namespace std;
- void test_case() {
- string s = "";
- while(getline(cin, s)) {
- int a = (s[0] - '0');
- int b = (s[2] - '0');
- cout << a << " " << b << "\n";
- }
- }
- int main() {
- ios::sync_with_stdio(false);
- cin.tie(0);
- int T = 1;
- //cin >> T;
- for(int tc = 1; tc <= T; tc++) {
- test_case();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment