Search found 6 matches

by sejan
Tue Nov 25, 2014 9:37 pm
Forum: Volume 111 (11100-11199)
Topic: 11152 - Colourful Flowers
Replies: 45
Views: 21514

Re: 11152 - Colourful Flowers

why getting WA???? #include <stdio.h> #include <math.h> int main() { int a,b,c; double pi=acos(-1); while(scanf("%d%d%d",&a,&b,&c)!=EOF) { double pm=(a+b+c)/2; double ta=sqrt(pm*(pm-a)*(pm-b)*(pm-c)); double R=((a*b*c)/4)/ta; double sfa= (pi*R*R)-ta; double icr= ta/pm; double ica= pi*icr*icr; double...
by sejan
Wed Nov 19, 2014 7:24 pm
Forum: Volume 106 (10600-10699)
Topic: 10656 - Maximum Sum (II)
Replies: 52
Views: 15818

Re: 10656 - Maximum Sum (II)

Accepted :D thank you :D
by sejan
Wed Nov 19, 2014 3:47 pm
Forum: Volume 106 (10600-10699)
Topic: 10656 - Maximum Sum (II)
Replies: 52
Views: 15818

Re: 10656 - Maximum Sum (II)

brianfry713 wrote:Don't print a space at the end of a line.
tried but then it gives "wrong answer"
by sejan
Tue Nov 18, 2014 7:09 pm
Forum: Volume 100 (10000-10099)
Topic: 10041 - Vito's Family
Replies: 90
Views: 29160

Re: 10041 - Vito's Family

why WA?

Code: Select all

ACCEPTED THANK YOU
:D
by sejan
Tue Nov 18, 2014 7:34 am
Forum: Volume 106 (10600-10699)
Topic: 10656 - Maximum Sum (II)
Replies: 52
Views: 15818

Re: 10656 - Maximum Sum (II)

outputs matched but still PE :(
by sejan
Mon Nov 17, 2014 9:36 pm
Forum: Volume 106 (10600-10699)
Topic: 10656 - Maximum Sum (II)
Replies: 52
Views: 15818

Re: 10656 - Maximum Sum (II)

getting PE. please help

Code: Select all

CODE REMOVED

Go to advanced search