Advertisement
Guest User

Untitled

a guest
Mar 14th, 2020
6,174
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.19 KB | None | 0 0
  1. #include <bits/stdc++.h>
  2. using namespace std;
  3. int main()
  4. {
  5.     int t;
  6.     scanf("%d",&t);
  7.     while (t--)
  8.     {
  9.         int x;
  10.         scanf("%d",&x);
  11.         printf("1 %d\n",x-1);
  12.     }
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement