Advertisement
jakaria_hossain

Codeforce- Car factory

Sep 27th, 2018
120
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. #include<stdio.h>
  2. int main()
  3. {
  4. int t,car,date;
  5. scanf("%d", &t);
  6. while(t--)
  7. {
  8. scanf("%d %d",&car,&date);
  9. printf("%d\n",car+date-1);
  10. }
  11. return 0;
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement