| ||||||||||
| Online Judge | Problem Set | Authors | Online Contests | User | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest | |||||||||
Re:怎么总是Output Limit Exceeded???谁帮我看看啊??????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: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator