[Codeforces] April Fools Day Contest E. MYSTERIOUS LANGUAGERead more
[Codeforces] VK Cup 2012 Round 3 B. Ancient Berland HieroglyphsRead more
[Codeforces] ABBYY Cup 2.0 - Hard E3. The Beaver`s Problem - 2Read more
[Codeforces] ABBYY Cup 2.0 - Hard E2. The Beaver`s Problem - 2Read more
[Codeforces] Croc Champ 2012 - Round 2 C. Playing with SuperglueRead more
[LeetCode] Image Smoother

661. Image Smoother

3 x 3 that can be applied to each cell of an image by rounding down the average of the cell and the eight surrounding cells (i.e., the average of the nine cells in the blue smoother). If one or more of the surrounding cells of a cell is not present, we do not consider it in the average (i.e., the average of the four cells in the red smoother).

img

Given an m x n integer matrix img

Read more
[Hacker Earth] Dreamplay and Upside DownRead more
[Hacker Earth] Danny !Read more
[Hacker Earth] Suarez !Read more
[Hacker Earth] Coutinho !Read more