Gửi bài giải

Điểm: 5,00 (OI)
Giới hạn thời gian: 2.0s
Giới hạn bộ nhớ: 64M
Input: stdin
Output: stdout

Tác giả:
Dạng bài
Ngôn ngữ cho phép
C, C#, C++

Tudor is sitting in math class, on his laptop. Clearly, he is not paying attention in this situation. However, he gets called on by his math teacher to do some problems. Since his math teacher did not expect much from Tudor, he only needs to do some simple addition problems. However, simple for you and I may not be simple for Tudor, so please help him!

Input Specification

The first line will contain an integer ~N~ (~1 \le N \le 100\,000~), the number of addition problems Tudor needs to do. The next ~N~ lines will each contain two space-separated integers whose absolute value is less than ~1\,000\,000\,000~, the two integers Tudor needs to add.

Output Specification

Output ~N~ lines of one integer each, the solutions to the addition problems in order.

Sample Input

2
1 1
-1 0

Sample Output

2
-1


12
-2

Bình luận

Hãy đọc nội quy trước khi bình luận.



  • 0
    phipham304  đã bình luận lúc 5, Tháng 4, 2024, 17:47

    ai giải thích đề được không :v


    • 2
      dainghiajustiin  đã bình luận lúc 6, Tháng 4, 2024, 12:20

      Output bị lỗi đó bạn. Đề bảo yêu cầu in ra N dòng với mỗi dòng là kết quả của a + b thui


      • 0
        phipham304  đã bình luận lúc 6, Tháng 4, 2024, 14:51

        bảo sao đọc đề thấy output sai sai :))