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

WA了4发·····还是理解不够,提一下自己错的

Posted by 947186602 at 2020-09-12 11:07:25 on Problem 3254
1. 结果要取mod ,一开始忘了1WA
2. 傻乎乎只对最终结果取mod,殊不知中间过程也要取mod,2WA
3. 一开始的M*N花园要反转,1变为0,0变为1,这样game[x] & state[i] > 0 才能判断为非法,WA3
例如:
不反转 10110(土地) & 01010(state)  被判定可以放的,然而实际第二个位置不能放
反转后 01001 & 01010 就非法了

4.第四次有一个调试语句没删干净 WA4...

脑子有点不太清醒```

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