Imagine you are working for a software company. The company is interested in making mobile games and your first assignment is to make one. The idea of the game is fairly simple. at the start of the game, the player will get a 2×2 board with one integer number in each cell. The user will have to tap on any two different cells and will get points equal to the products of numbers on that two cell. Since you are a programmer, you are wondering what would be the highest point any player can get from a given scenario.
The Input consists of two line , each line contains two integer ai and aj (-109 ≤ ai , j ≤ 109).
Print the maximum possible result.
1 1 1 1
Login to submit