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:数据有问题吧?

Posted by vest at 2003-10-20 17:38:08 on Problem 1383
In Reply To:数据有问题吧? Posted by:vest at 2003-10-20 17:35:54
 scanf("%d",&n);
// while(scanf("%d%d",&X,&Y)==2)  不能过
 for(int i=0;i<n;i++)
 {
  scanf("%d%d",&X,&Y);          // 能过

n 和实际的数据组数是不是不一样啊?

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