FUACM001 - Problems 1: Calculate A and B
Given two integer A and B.
You must calculate: A + B, A - B, and A × B.
Input
Two integers A and B.
Output
First line, write value of (A + B).
Second line, write value of (A - B).
Third line, write value of (A × B).
|A|, |B| <= 10^9
Example
Input: 10 8 Output: 18 2 80
Added by: | Gầy :)) |
Date: | 2014-11-09 |
Time limit: | 1s |
Source limit: | 50000B |
Memory limit: | 1536MB |
Cluster: | Cube (Intel G860) |
Languages: | All except: ASM64 |