ZOJ 3647 Gao the Grid (n*m 中格点三角形个数)
摘要:
Gao the GridTime Limit: 2 Seconds Memory Limit: 65536 KBA n * m grid as follow:Count the number of triangles, three of whose vertice must be grid-points.Note that the three vertice of the triangle must not be in a line(the right picture is not a triangle). InputThe input consists of several cases... 阅读全文
posted @ 2012-09-30 23:15 kuangbin 阅读(1960) 评论(1) 推荐(0) 编辑