#P1932. A+B A-B A*B A/B A%B Problem
A+B A-B A*B A/B A%B Problem
Description
Compute the sum, difference, product, quotient, and remainder of and .
Due to updates to the testdata, the subtraction result may be negative.
Input Format
Two lines, each containing one number: the two numbers to be operated on.
Output Format
Five lines, each containing one number: the sum, difference, product, quotient, and remainder of and .
1
1
2
0
1
1
0
Hint
denotes the number of digits rather than the absolute value.
.
Translated by ChatGPT 5
京公网安备 11011102002149号