Advertisement
Guest User

Untitled

a guest
Apr 23rd, 2017
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. #include <iostream>
  2. using namespace std;
  3. int main(){
  4. int TestCase;
  5. scanf("%d", &TestCase);
  6. while(TestCase--){
  7. int a, b;
  8. scanf("%d,%d", &a, &b);
  9. printf("%d\n", a+b);
  10. }
  11. return 0;
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement