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:怎么总是Output Limit Exceeded???谁帮我看看啊??????

Posted by aygxylxk at 2010-04-28 19:46:04 on Problem 2141
In Reply To:Re:怎么总是Output Limit Exceeded???谁帮我看看啊?????? Posted by:aygxylxk at 2010-04-28 19:43:09
你的输入循环不对应该是这样:
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