Advertisement
erfanul007

CF Edu 57 A

Dec 29th, 2018
182
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. #include<stdio.h>
  2. int main()
  3. {
  4. long long int n,l,r,x,y,t;
  5. scanf("%lld",&n);
  6. while(n--){
  7. scanf("%lld %lld",&l,&r);
  8. x=l;
  9. t=r/l;
  10. y=l*t;
  11. printf("%lld %lld\n",x,y);
  12. }
  13. return 0;
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement