Online JudgeProblem SetAuthorsOnline ContestsUser
Web Board
Home Page
F.A.Qs
Statistical Charts
Problems
Submit Problem
Online Status
Prob.ID:
Register
Update your info
Authors ranklist
Current Contest
Past Contests
Scheduled Contests
Award Contest
User ID:
Password:
  Register

Re:cin和scanf的差别!!!

Posted by Gamor at 2009-08-25 19:14:59 on Problem 2049
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:
User ID:
Password:
Title:

Content:

Home Page   Go Back  To top


All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator