Problem 312  Discussion Forum
Spoiler free discussion here!!
Remind me

Go to problem 
How many (not necessarily primitive) Heronian triangles with sides a, b and c, and area in the range [10000000,10001000], are there? Answer format: count,∑a_{i},∑b_{i},∑c_{i} where a_{i} ≤ b_{i} ≤ c_{i} Example:26,203,431,520 in the range [0,100] [My timing: <1m]
sinan  1м:1w ago

Hi, Only the area has to be in that range. So it means given an area in that range, you need to find a,b,c if they exist. 
liuguangxi  1м:1w ago

Hi sinan,
Dose the problem mean ONLY area in the range [10000000,10001000] (inclusive), but a,b,c need not in this range？ 
Buri  1y:1м ago

Thanks for the hint ! 
sinan  1y:1м ago

Hi Buri, Pay attention to "in a range". You need to find an algo to deal with it. I have 2 loops and an equation to solve for the 3rd variable. You probably have 3 loops. That may be the reason. 
Buri  1y:1м ago

Hi sinan, is there a special way to solve the problem under 1 minute ?
I only have a methode which takes hours and hours to solve. 
1 
New Members
 RandyHiz 5d:14h
 hamid914 5d:18h
 Richardtogue 1w
 khlilism 1w:3d
 Makssipsy 2w:3d
Fresh Problems

Maximize XOR 5d:10h
solved by 9 
Mutated worm 1w:2d
solved by 5 
Self avoiding paths 1w:6d
solved by 10 
A distant prime number 2w:5d
solved by 8 
Not a sum of distinct squares 2w:5d
solved by 11