Triplet Counts.

Revision en1, by Confused101, 2016-08-26 13:28:31
An ordered triple (a, b, c) is called a triangle triple if a, b, c are positive integers such that there is a triangle with side lengths a, b, c and a positive area.
find number of ordered triplet (a, b, c) such that a <= A, b <= B and c <= C

Input: A, B, C (all between 1 to 10^9)
Output: Number of triplets Mod 10^9 + 7

Problem: [Link]

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English Confused101 2016-08-26 13:29:37 50 Tiny change: 'pm=14286)]' -> 'pm=14286)]\nCan someone please help me solving this problem?'
en1 English Confused101 2016-08-26 13:28:31 440 Initial revision (published)