Search found 2 matches

by mdminhaj329
Mon May 04, 2015 6:04 pm
Forum: Volume 103 (10300-10399)
Topic: 10341 - Solve It
Replies: 64
Views: 33997

Re: 10341 - Solve It

why wa ,,,please help...... #include<stdio.h> #include<math.h> float fx(float x,int p,int q,int r,int s,int t,int u){ float eq; eq=p*exp(-(x)) + q*sin((x))+r*cos((x))+s*tan((x))+t*pow((x),2)+u; return eq; } int main(){ int p,q,r,s,t,u; float st,ed,mid,fx_st,fx_end,fx_mid,fx_dif; while(scanf("%d %d %...
by mdminhaj329
Thu Apr 23, 2015 7:38 am
Forum: Volume 109 (10900-10999)
Topic: 10994 - Simple Addition
Replies: 41
Views: 14672

Re: 10994 - Simple Addition

i don't know why wrong ans,i test 100 test case with uva toolkit.... please help me... #include<stdio.h> #include<math.h> #include<ctype.h> long long sumf,sff; long long s(long long p,long long q){ long long summ=0,i,n,pf,qf,pr,qr,s1,s2; sff=0; pf=(p/10); pf=pf*10; pr=p%10; s1=((pr-1)*(pr-1) +(pr-1)...

Go to advanced search