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

cin和scanf

Posted by ning at 2009-07-02 13:22:45 on Problem 3723
//			cin >> road[jj].x >> road[jj].y >> road[jj].len;
改成:

			scanf("%d%d%d",&road[jj].x,&road[jj].y,&road[jj].len);

就从TLE变成AC了。。。谁能告诉我为啥?

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