| ||||||||||
| 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 | |||||||||
Re:cin和scanf的差别!!!In Reply To:cin和scanf的差别!!! Posted by:changzhiwin at 2009-03-13 20:33:01 > 输入x1,y1的两种方法:
> 1,scanf("%lf%lf",&x1,&y1)----------------WA
> 2,cin>>x1>>y1;---------------------------AC
> 本人可是找了很久,偶然间发现
> 当然使用C++提交才会出现这种错误,用G++就不会出现
哥,我爱你,你是我的偶像! 我调试了半天,WA了N次,看了你的提示,终于AC! ORZ!!!
Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator