QOJ.ac

QOJ

Time Limit: 1 s Memory Limit: 256 MB Total points: 100

#5317. Winmine.exe

统计

Notes

(a) The upper bound of w (the number of mines) should be 1500, rather than 1000 in the problem statement.

(b) There is another (the third) constraint about the initial state of board: for any pair of unrevealed squares A and B, if A and B are both adjacent to a connected component S, where S is a connected area consisting of only squares with positive positive positive positive numbers, then A and B can always be connected by unrevealed squares. For example, the following board contradicts this constraint due to the disconnection of squares on row 7 column 3 and row 8 column 4:

000000011.
11000001..
.1000002..
11000001..
0000000111
0111000000
01.3221100
012....100
0012221100
1100001110
.100001.10

, whereas the following one is acceptable:

..10000000
2210011100
000001.100
000001.100
000011.221
00001.....
01122.....
12........
..........
..........
About Issues

We understand that our problem archive is not perfect. If you find any issues with the problem, including the statement, scoring configuration, time/memory limits, test cases, etc.

You may use this form to submit an issue regarding the problem. A problem moderator will review your issue and proceed it properly.

STOP! Before you submit an issue, please READ the following guidelines:

  1. This is not a place to publish a discussion, editorial, or requests to debug your code. Your issue will only be visible by you and problem moderators. Other users will not be able to view or reply your issues.
  2. Do not submit duplicated issues. If you have already submitted one, please wait for an moderator to review it. Submitting multiple issues will not speed up the review process and might cause your account to be banned.
  3. Issues must be filed in English or Chinese only.
  4. Be sure your issue is related to this problem. If you need to submit an issue regarding another problem, contest, category, etc., you should submit it to the corresponding page.

Active Issues 0

No issues in this category.

Closed/Resolved Issues 0

No issues in this category.