VTRI2 - Triangles 2

Triangle 2

(This is a bonus problem. You will get a maximum score of 30 from this one)

This problem description is the same as the problem VTRI except that in all test cases 200 ≤ X, Y ≤ 250.

The result will fit in a 64-bit integer.

Example

Input
200 200 1

Output
1488042840

Được gửi lên bởi:VOJ Team
Ngày:2008-06-15
Thời gian chạy:1s
Giới hạn mã nguồn:50000B
Memory limit:1536MB
Cluster: Cube (Intel G860)
Ngôn ngữ cho phép:Tất cả ngoại trừ: ERL GOSU JS-RHINO NODEJS PERL6 PYPY RUST SED VB.NET
Nguồn bài:VNOI Marathon 2008

© Spoj.com. All Rights Reserved. Spoj uses Sphere Engine™ © by Sphere Research Labs.