Sum of 2 large numbers

Xem dạng PDF

Gửi bài giải

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

Nguồn bài:
Châu Nhật Tăng
Dạng bài
Ngôn ngữ cho phép
C, C++, Java, Kotlin, Pascal, PyPy, Python, Scratch

Jack is a mischievous boy who often discards many of his creations. Today, in his computer class, he learned about the algorithm for adding two large positive integers. He was tasked with writing the code to solve this problem. Jack quickly finished writing the code but then abandoned it and handed the task over to you. Please help Jack calculate the sum of two large integers, ~a~ and ~b~.

Input:

  • Two lines containing two integers ~a~ and ~b~ ~(a,b≤10^{10^{5}})~.

Output:

  • One line containing the sum ~a+b~.

Sample Input

97
2004

Sample Output

2101

Bình luận

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


Không có bình luận tại thời điểm này.