URI - BEECROWD - BEE 1007 | Difference Solution in C,C++,Python

URI - BEECROWD - BEE Online Judge Solution  1007 | Difference - URI - BEECROWD - BEE Problem 1007 Solution in C,C++,Python

Read four integer values named A, B, C and D. Calculate and print the difference of product A and B by the product of C and D (A * B - C * D).

Input

The input file contains 4 integer values.

Output

Print DIFERENCA (DIFFERENCE in Portuguese) with all the capital letters, according to the following example, with a blank space before and after the equal signal.

Input SamplesOutput Samples

5
6
7
8

DIFERENCA = -26

0
0
7
8

DIFERENCA = -56

5
6
-7
8

DIFERENCA = 86

URI Online Judge Solution  1007 | Difference - URI Problem 1007 Solution in C,C++,Python:


  URI Problem 1007 Solution in C :   

0 Response to URI - BEECROWD - BEE 1007 | Difference Solution in C,C++,Python

Post a Comment