A CỘNG B

View as PDF



Problem type
Allowed languages
C, C++, Pascal, Python, SCRATCH
Points: 5 (p) Time limit: 1.0s Memory limit: 1G Input: stdin Output: stdout

Cho 2 số nguyên A và B.
Yêu cầu: Hãy tính tổng A+B?
Lưu ý: dữ liệu vào được nhập từ file input.txt, dữ liệu ra cần in ra file output.txt.
Mô tả đầu vào

  • Dòng đầu tiên chứa số A.
  • Dòng thứ hai chứa số B.

Ràng buộc
0 ≤ A, B ≤ 109
Mô tả đầu ra

  • 1 số tự nhiên duy nhất là kết quả phép tính A+B.

Test case mẫu

Đầu vào mẫu 1

    3
    4

Đầu ra mẫu 1

    7

Comments

There are no comments at the moment.