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 skyward at 2009-06-01 15:51:40 on Problem 1598
In Reply To:为什么总是超时? Posted by:purplefly at 2006-08-05 17:37:24
> 这题超时的不多阿
> 
> 输入是不是用EOF结束?
> 
> 如:while(scanf("%d %d",&m,&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