CF364E Empty Rectangles

Description

You've got an $ n×m $ table ( $ n $ rows and $ m $ columns), each cell of the table contains a "0" or a "1". Your task is to calculate the number of rectangles with the sides that are parallel to the sides of the table and go along the cell borders, such that the number one occurs exactly $ k $ times in the rectangle.

Input Format

The first line contains three space-separated integers $ n $ , $ m $ and $ k $ ( $ 1

Output Format

Print a single number — the number of rectangles that contain exactly $ k $ numbers one. Please, do not write the %lld specifier to read or write 64-bit integers in С++. It is preferred to use the cin, cout streams or the %I64d specifier.