
ZOJ Problem Set  1629
Given an equilateral triangle with n the length of its side, program to count how many triangles in it.
The length n (n <= 500) of the equilateral triangle's side, one per line. process to the end of the file
Author: JIANG, Jiefeng Source: ZOJ Monthly, June 2003 