Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
我的意思是你这个cout<<0 就只会输出0 而不是0.000 你要 area = 0 cout << areaIn Reply To:Re:wa的程序中应该area = 0; cout<<setiosflags(ios::fixed)<<setprecision(3)<<area<<endl; Posted by:qywyh_scut at 2006-02-22 13:51:58 > > > if (r1+r2<=d2) > { > cout<<setiosflags(ios::fixed)<<setprecision(3)<<0<<endl; > } > > 这是相离的情况。。。已经判断了阿 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator