QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#493420#5934. Minesweeper MasterHuangHanSheng35 ✓1426ms1952kbC++231.9kb2024-07-27 08:56:462024-07-27 08:56:48

詳細信息

Subtask #1:

score: 11
Accepted

Test #1:

score: 11
Accepted
time: 0ms
memory: 1532kb

input:

225
5 5 21
4 4 14
4 4 15
5 5 23
3 2 4
2 5 8
4 4 5
5 5 15
5 4 1
4 5 12
3 5 5
5 2 5
4 5 6
5 3 14
5 4 17
2 5 5
4 5 8
4 5 16
2 1 1
4 3 7
4 3 10
1 4 1
2 3 4
2 3 1
4 3 5
4 2 1
5 3 12
5 2 6
4 5 18
4 3 4
2 4 4
1 2 1
4 5 11
2 3 5
2 4 1
3 3 8
4 5 2
2 2 3
4 4 12
2 3 0
4 4 2
4 5 7
2 5 9
5 5 13
3 4 6
5 5 22
1 3 ...

output:

Case #1:
c.***
..***
*****
*****
*****
Case #2:
Impossible
Case #3:
c***
****
****
****
Case #4:
Impossible
Case #5:
Impossible
Case #6:
Impossible
Case #7:
c...
....
...*
****
Case #8:
c....
.....
*****
*****
*****
Case #9:
c...
....
....
....
...*
Case #10:
c...*
....*
*****
*****
Case #11:
c....
...

result:

ok correct! (225 test cases)

Subtask #2:

score: 24
Accepted

Test #2:

score: 24
Accepted
time: 1426ms
memory: 1952kb

input:

134
50 50 250
50 50 2494
50 50 2495
2 50 4
50 3 2
2 50 48
50 50 2448
50 50 2499
3 50 5
4 4 2
3 3 5
50 1 3
2 50 45
1 50 2
50 50 48
50 2 46
2 50 46
3 3 2
50 1 48
50 50 248
50 50 251
1 50 1
2 50 3
50 2 1
50 50 51
4 4 11
50 1 2
4 4 10
3 50 44
50 50 50
2 50 42
2 2 1
50 2 47
50 2 3
50 2 4
50 3 43
50 50 24...

output:

Case #1:
c.................................................
..................................................
..................................................
..................................................
..................................................
.......................................

result:

ok correct! (134 test cases)

Extra Test:

score: 0
Extra Test Passed