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

我做了,自已测试数据可以通过,但是线上提交总是不行~

Posted by wi at 2006-03-28 17:07:51 on Problem 1745
In Reply To:如果你看不懂题的话,那么再看几遍会比较好 Posted by:frkstyc at 2006-03-28 16:54:53
比如:
这个题:
输入:
2 3
8 7


如果是
8+7
8-7
这样的顺序做,那么结果当然是
Divisible
Not divisible
如果按顺序
8-7
8+7
这样的顺序做,那么结果两行就交换了。它只要求输出是否被 3 整除,怎么知道我是先看的8-7=1还是8+7=15?
如果我说的是1不被 3 整除输出Not divisible,机器却按8+7=15可以被3 整除来判,我岂不冤死?

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