Submit | All submissions | Best solutions | Back to list |
FUCT_IF_COMPARE - Compare two numbers |
Enter two integers then compare their values.
Input
The first line of the input consist of a single integer number t which determines the number of tests.
In each of next t lines there are two number m and n that are separated by a space character.
Constraints
- 0 < t ≤ 1 000
- - 1 000 000 ≤ n, m ≤ 1 000 000
Output
For each test case print out the result in format "<m> is greater than <n>" or "<m> is smaller than <n>" or "n is equal m: <n>". Separate your answers with a new line character.
Example
Input: 5 9 2 -3 -5 5 28 0 0 19 13 Output: 9 is greater than 2 -3 is greater than -5 5 is smaller than 28 n is equal m: 0 19 is greater than 13
Added by: | khanhvh |
Date: | 2018-06-18 |
Time limit: | 1s |
Source limit: | 50000B |
Memory limit: | 1536MB |
Cluster: | Cube (Intel G860) |
Languages: | All |
Resource: | FPTU Can Tho |