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:
Dạng bài
Ngôn ngữ cho phép
C, C++, Java, Kotlin, Pascal, PyPy, Python, Scratch
~J97~ is a mischievous boy who often throws away many of his works. Today, in computer class, he learned about the algorithm for calculating the absolute value of two large positive integers. He was tasked with writing code to solve this problem. ~J97~ quickly finished writing the code but then gave up and gave the task to you. Help Jack calculate the absolute value 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 absolute value of ~a-b~.
Sample Input
97
2004
Sample Output
1907
Bình luận