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

output Limit Exceeded 的原因

Posted by aygxylxk at 2010-04-28 19:48:39
你的输入循环不对应该是这样:
c++
while(cin>>s>>n){
}
c
while(scanf("%s%d",s,&n)==2){
}
或
while(scanf("%s%d",s,&n)!=EOF){
}

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