Company: flipkart_20aug
Difficulty: medium
Soil Level Difference Problem Description Read the input from STDIN and print the output to STDOUT. Do not print arbitrary strings anywhere in the program, as these interfere with the standard output and test cases will fail. Diego bought a square shape plot to build his new house. He wanted to build his house in such a way that all the sides of his house are garden fences and an equal amount of area is provided to each garden. So, he built a square shape structure inside the plot to create his house, and left the rest to be used for the garden. He built a fence to separate the house area from the garden areas. Later he realised that the plot was quite uneven and to level it, he would need to move some soil from one area to the other. He mapped the plot in the form of a matrix and determined the height of soil in each cell, ignoring the cells where the fence was already built. Help him determine how much soil he needs to move, by writing a program to calculate the absolute difference o