11152 - Colourful Flowers

All about problems in Volume 111. If there is a thread about your problem, please use it. If not, create one with its number in the subject.

Moderator: Board moderators

lighted
Guru
Posts: 585
Joined: Wed Jun 11, 2014 9:56 pm
Location: Kyrgyzstan, Bishkek

Re: 11152 - Colourful Flowers

Post by lighted » Tue Nov 25, 2014 9:59 pm

Be careful with integer division
brianfry713 wrote:change line 10 to:
p=(a+b+c)/2.0;
Input

Code: Select all

4 5 6
Acc Output

Code: Select all

18.8016 4.4238 5.4978
A person who sees the good in things has good thoughts. And he who has good thoughts receives pleasure from life... Bediuzzaman

Post Reply

Return to “Volume 111 (11100-11199)”