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: 1 <= p * q <= 26 有可能p=1,q=26所以你的就太小了。

Posted by JiaJunpeng at 2014-06-26 10:01:33 on Problem 2488
In Reply To:Re: 1 <= p * q <= 26 有可能p=1,q=26所以你的就太小了。 Posted by:nan5515522 at 2014-06-26 09:50:26
> 求的范围不是在8*8的棋盘范围内??怎么能出现1*26

想知道数据是否越界,很简单:
加一句
while(越界条件)
   puts("orz");

OLE了就说明越界了,不过方法很猥琐,  我也经常用这种方法提交来debug

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