QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#316592 | #1493. Push a Box | qiuzx | 100 ✓ | 173ms | 138056kb | C++17 | 3.2kb | 2024-01-27 22:21:09 | 2024-01-27 22:21:10 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
Tip: Click on the bar to expand more detailed information
Test #1:
score: 6.66667
Accepted
time: 4ms
memory: 38940kb
input:
5 5 4 ##.## ##.## A.B.. ##.## ##.## 3 2 3 5 1 3 5 3
output:
NO YES NO NO
result:
ok 4 lines
Test #2:
score: 6.66667
Accepted
time: 0ms
memory: 39112kb
input:
5 5 16 ..... .###. .#.#. A.B.. ##.## 1 1 1 2 1 3 1 4 1 5 2 1 2 5 3 1 3 3 3 5 4 1 4 2 4 3 4 4 4 5 5 3
output:
NO NO NO NO NO NO NO NO NO NO YES YES YES YES YES NO
result:
ok 16 lines
Test #3:
score: 6.66667
Accepted
time: 8ms
memory: 39140kb
input:
5 5 15 ...## A.### .#... ##..B ##... 1 1 1 2 1 3 2 1 2 2 3 1 3 3 3 4 3 5 4 3 4 4 4 5 5 3 5 4 5 5
output:
NO NO NO NO NO NO NO NO NO NO NO YES NO NO NO
result:
ok 15 lines
Test #4:
score: 6.66667
Accepted
time: 0ms
memory: 39116kb
input:
41 46 100 ..#.....##.#...............#.#.#...#.......... .#...###.###.#######.#.#.#####.#.#.#..##.#.#.# .......#...#.............#...........#.#.#.#.. .#.#.#.#####.#.#.###.#.#.#.#.###.#.#.#.#.#.#.# .#.......#.#.............#...............#.#.. ####.###.#..##.#.#.###.#.###.#.#.#####.#.#.### .#...#.#...
output:
YES YES NO YES NO NO NO NO NO NO YES NO NO YES NO NO NO NO YES NO YES NO NO YES NO YES NO NO NO YES NO NO NO YES NO NO NO NO NO NO NO NO NO NO YES NO YES NO NO NO NO NO NO NO YES NO NO YES NO NO NO YES YES YES YES YES NO NO YES NO NO NO YES YES NO YES NO NO YES NO NO YES NO NO YES NO NO NO YES YES N...
result:
ok 100 lines
Test #5:
score: 6.66667
Accepted
time: 4ms
memory: 39016kb
input:
24 31 100 .#.#.#.#.......#.............#. .###.#.#.#.#####.#.#.#.#.###.#. .#...#.....#.#.A............... .#.###.#.###.#.#.#.###.######## ...#.#.....#...#.........#..... .#####.#.###.#.#.###...#.###.#. ......##.#.....#.#.......#..... ..####.#.#.#####.###.#.#.###### ...#.........#.#.#...#...#...#. .#...
output:
NO NO NO YES NO NO NO NO YES YES NO NO NO YES NO NO YES NO NO NO NO YES NO NO YES YES NO NO YES YES NO NO NO NO NO NO NO NO NO YES NO YES NO NO NO NO YES YES NO NO NO YES NO NO NO NO NO YES NO NO NO NO NO YES YES NO NO YES YES NO NO NO YES NO NO NO YES NO NO NO NO NO YES YES NO YES YES NO NO YES NO ...
result:
ok 100 lines
Test #6:
score: 6.66667
Accepted
time: 128ms
memory: 134320kb
input:
1500 1500 50000 .....#...#.........#...#...#.#.................#....#....#...#...#...................#.#.....#.#.#...........#.#...#.........#.........#.#...#.....#.............#.#...#.....#.....#...#.#...........#..#........#...#...#...#.....#.........#.....#.#.#.....#.........##......#.#.......#.#...
output:
NO NO NO NO NO NO NO YES NO NO YES YES NO NO NO NO NO NO YES YES NO NO YES NO NO NO YES NO NO NO YES NO NO NO NO NO NO YES NO YES NO NO NO YES NO NO NO NO YES YES NO NO YES NO NO YES YES NO YES NO NO NO NO NO NO NO NO NO NO YES NO NO NO NO NO YES NO NO NO YES NO YES NO YES NO NO NO NO NO YES NO NO N...
result:
ok 50000 lines
Test #7:
score: 6.66667
Accepted
time: 127ms
memory: 134728kb
input:
1500 1500 50000 ...................#.......#.#.....#...#.#...#.................#.#..#................#.#.....#...#.....##............#.#.#.....#.......#.......#...#.........#.#...#.........#.........#...........#...#.................#.#.......#........#..........#...#.......#.............#.............
output:
NO YES NO NO YES NO YES NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO YES NO NO NO NO NO NO NO NO NO NO NO NO NO NO YES NO NO NO NO NO NO NO NO NO NO NO N...
result:
ok 50000 lines
Test #8:
score: 6.66667
Accepted
time: 115ms
memory: 132772kb
input:
1500 1500 50000 .....#.........#.....#.#...###...........#...........#.............#.........#.#.#.............................#.#.......#...#.#.....#......#...........##.......##........#.#.#...#................##.#.......#.......................#.#.........#.........#.......#.....##..#.#...#.........
output:
NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO YES YES NO NO NO NO YES NO NO NO NO NO YES NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO YES NO NO NO NO NO NO NO NO NO NO NO NO NO NO YES NO NO NO NO YES NO NO NO NO NO NO NO NO NO YES NO NO NO NO NO NO NO NO NO NO YES NO NO NO YES NO NO NO NO NO...
result:
ok 50000 lines
Test #9:
score: 6.66667
Accepted
time: 173ms
memory: 137900kb
input:
1500 1500 50000 ...#.#.....#.#...........#...#...#.#...#.......#...#...................................#..#..#.#.......#.....#.....#.........#.......#.......#.#.........#...#.....#.#.....#.....#.......#.......#.........#.....#.###.............#...#.....#...#...#.....#.........#.#...#...........#.......
output:
NO NO YES YES YES NO YES NO NO NO YES NO YES NO NO NO NO YES YES YES NO YES NO NO NO NO NO NO NO NO YES YES NO NO NO YES NO YES NO NO NO NO NO NO NO YES NO NO NO NO YES NO NO YES NO NO YES YES NO NO NO YES YES YES NO YES NO YES YES YES NO NO YES YES NO NO YES YES YES NO YES NO NO NO NO YES NO YES NO...
result:
ok 50000 lines
Test #10:
score: 6.66667
Accepted
time: 125ms
memory: 137532kb
input:
1500 1500 50000 .....#...#.......#....##...........#.#...#.....#..#........#.#.#.##....##..#.#.............#.#......##.#...............#.#.#...#.#.#.#...#.#...#.........#.....#.......#.......###...##........#...#.#.#.....#.#.#.#.#...#.................#.#.............#.###...#.......#...#.#...#.#.......
output:
NO NO NO NO YES NO NO NO NO NO NO YES NO NO NO YES NO NO NO NO NO YES NO NO YES NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO YES NO NO NO NO NO NO NO NO YES YES NO YES NO NO NO YES NO YES NO NO YES NO NO NO NO YES NO NO NO YES NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO YES ...
result:
ok 50000 lines
Test #11:
score: 6.66667
Accepted
time: 123ms
memory: 134772kb
input:
1500 1500 50000 .#...#...........#...............#...#.........#...............#.......#.#.........................#...........#.#.......#..............##.....#...#.#.....#...#.#.#...#.#...#.....#.#.#...............#...........#.#..#....#.............#...#...#.....#.....#...............#.....#.........
output:
NO NO NO NO YES NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO YES NO YES NO NO NO YES NO NO NO NO NO YES NO NO NO NO NO NO NO NO NO YES NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO YES NO NO NO NO NO NO NO NO NO NO NO NO NO YES NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO YES NO NO NO NO YES...
result:
ok 50000 lines
Test #12:
score: 6.66667
Accepted
time: 133ms
memory: 138056kb
input:
1500 1500 50000 .#.....#...#.#.#...#...#.#.#...#.#....#....#.#.....#.................#.....#...#.#.......#...#..##.....#.....#...#.#...............#.#...#.#...#.....................#...#.....#.#.....#.....#.#.#.....#..........##..#..#.........#.#..##...#.....#...#...#.................#...#.#......#....
output:
NO NO NO NO NO NO NO NO NO NO NO YES NO NO NO NO NO NO YES NO NO YES NO NO NO NO NO YES NO NO NO YES NO YES NO NO NO NO NO NO NO NO YES NO NO NO NO NO YES NO NO NO NO NO NO NO YES NO NO NO NO NO NO NO YES NO NO NO NO NO NO NO NO YES NO NO NO NO NO NO NO NO NO YES NO NO NO NO NO YES NO YES NO NO NO N...
result:
ok 50000 lines
Test #13:
score: 6.66667
Accepted
time: 145ms
memory: 137800kb
input:
1500 1500 50000 ...........#...#.#.#.......#...#.....#...#.....#.#.....................................#.#.#..............##.#.............##....#.#.................#.........#..#............#.......#.....##....#...#.....#.#...........#.........#...#.#.....#.#.......#.#.......#...........#...#.#.......
output:
NO NO NO YES NO NO YES NO NO NO NO NO YES NO NO NO YES NO NO NO YES YES NO NO NO NO NO NO NO NO NO NO YES YES NO NO NO NO YES NO NO NO NO NO NO NO NO YES YES YES YES YES NO NO YES NO NO NO NO YES YES NO NO NO YES YES NO YES NO NO NO NO NO NO NO NO YES NO NO NO NO NO NO NO YES NO NO NO YES NO NO NO N...
result:
ok 50000 lines
Test #14:
score: 6.66667
Accepted
time: 115ms
memory: 134368kb
input:
1500 1500 50000 .........#...#...........#.....#.#...#.............#.#.#...#.........#.............#.#...#.#...#.....#.....#.........#...#.#...#...#...........#.....#.....#.#...#...#....#....#.#.#...........#.....#...............#.....#...#...#.#......#........#...#.....#.......#.#.....#...#.#.........
output:
NO NO YES NO NO NO NO NO NO NO NO NO NO NO NO YES NO NO NO NO NO YES NO YES NO NO NO NO NO YES NO NO NO YES NO NO NO NO NO NO NO NO NO NO YES NO YES YES NO NO NO NO NO NO NO NO NO NO NO NO NO NO YES NO NO NO NO NO NO NO NO NO YES NO YES NO NO NO NO NO NO NO NO NO NO NO NO NO NO YES NO NO NO YES NO N...
result:
ok 50000 lines
Test #15:
score: 6.66667
Accepted
time: 139ms
memory: 133896kb
input:
1500 1500 50000 ............##.......#.....#.....#...#...#...#.#.#.#.........#.#.......#.....#.#...#...#.......#.....#.#...........#...#.#.......#...#...#.#...#.....#...#...#.....#......##.#.....#.#...............##....##..#...#...#...........#.......#.....#................#...#....#.#.......#..#..#...
output:
NO YES NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO YES NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO YES YES NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO YES NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO NO N...
result:
ok 50000 lines