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

从stdin读一串数为什么这么慢……请教应该怎么写快一点?

Posted by funlove at 2007-02-13 01:31:17
n个数,中间用空格分开
  for (i=0;i<n;i++)
    scanf ("%d", &num[0][i]);

这样读取似乎非常慢,请问大家是怎么写的啊?

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