Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<stdio.h>
- int main()
- {
- long long int n,l,r,x,y,t;
- scanf("%lld",&n);
- while(n--){
- scanf("%lld %lld",&l,&r);
- x=l;
- t=r/l;
- y=l*t;
- printf("%lld %lld\n",x,y);
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement