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 |
加2句就对了In Reply To:奇怪...同一个程序用c++交就ac,用g++交就wa了……hawk大哥怎么回事啊? Posted by:wangchen1ren at 2005-05-22 22:14:29 if(fabs(x)<1e-6) x=0; if(fabs(y)<1e-6) y=0; printf("The treasure is located at (%0.3lf,%0.3lf).\n",x,y); 不然会出现-0.000的情况 Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator