G. A+B A-B A*B A/B A%B Problem

    Type: RemoteJudge 3000ms 125MiB

A+B A-B A*B A/B A%B Problem

You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.

题目背景

这个题目很新颖吧!!!

题目描述

求 AA 与 BB 的和、差、积、商、余。

由于数据有修改,减法运算结果可能带负号。

输入格式

两行,每行一个数,为参与运算的两个数。

输出格式

五行,每行一个数,分别为 AA 与 BB 的和、差、积、商、余。

1
1
2
0
1
1
0

提示

∣A∣,∣B∣≤2×104|A|,|B| \leq 2 \times 10^4,这里表示数字的位数而不是绝对值。

A,B>0 A,B > 0 。