QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#293948 | #4856. Puzzle: Patrick's Parabox | ucup-team025# | WA | 241ms | 83908kb | C++20 | 27.7kb | 2023-12-30 00:29:44 | 2023-12-30 00:29:44 |
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: 100
Accepted
time: 1ms
memory: 3540kb
input:
3 9 9 ######### #####..-# #..=##.## #.p.##.## ....##.## #...b..## #...##.## #....#### ####.#### 9 9 ######### #.......# #.#####.# #.#=....# ..#....-# ###.p.#.# #.....#b# #.....#.# ####.#### 9 9 ####.#### #....#### #.####.## #.......# #.......# ###.##### #=.b#..## #-..p..## #########
output:
7 4 19
result:
ok 3 number(s): "7 4 19"
Test #2:
score: 0
Accepted
time: 0ms
memory: 3508kb
input:
1 2 2 pb -=
output:
-1
result:
ok 1 number(s): "-1"
Test #3:
score: 0
Accepted
time: 241ms
memory: 3504kb
input:
100000 2 2 -p =b 2 2 b- =p 2 2 -b p= 2 2 -p b= 2 2 p= -b 2 2 b= -p 2 2 =b -p 2 2 b= -p 2 2 -p b= 2 2 b= -p 2 2 p= b- 2 2 pb =- 2 2 p- =b 2 2 -= pb 2 2 =p -b 2 2 p= -b 2 2 -b =p 2 2 =p -b 2 2 =b -p 2 2 =- bp 2 2 -= bp 2 2 bp =- 2 2 =- bp 2 2 =b -p 2 2 bp -= 2 2 -b p= 2 2 =p b- 2 2 b- p= 2 2 pb =- 2 2...
output:
-1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 ...
result:
ok 100000 numbers
Test #4:
score: 0
Accepted
time: 53ms
memory: 32408kb
input:
1 500 200 #....#.#.#.##.#..#.#..#......#...#..#...#.#...........#.#.#..#...###..##..#.#.#.....#........#..####..#..#..#####...............#.#......#.##.#..##.........##.###.#....###..#...#.#...#...##..##.#...#. ##..##.....#.##..#.#.###.#....#...#..#.#....##..............##.....#...#....#..##.##...##...
output:
-1
result:
ok 1 number(s): "-1"
Test #5:
score: 0
Accepted
time: 44ms
memory: 32404kb
input:
1 200 500 ...##..#.....#.......##..##.#......#...#.....#.##.##..#...##...##....#..##.##..##..#..........####.......#.#...#....##....#.#..#..##....#..#......###...#.#..#.#..#..#.....#.#......#.........###....#..#.............#......#..#.#..####.#...#..#.#..##...#...##.###....#.####..#......#...#..#.....
output:
-1
result:
ok 1 number(s): "-1"
Test #6:
score: 0
Accepted
time: 68ms
memory: 83908kb
input:
1 100000 2 .. .# .. ## .. .. .. ## .# #. #. ## ## #. ## ## .. #. ## #. .. .. .. ## .# .# .# .. .# .# .# .# ## ## ## ## .. .. #. .# #. .. .# ## ## ## ## .# ## .. .# .. .. #. #. ## #. ## .# #. #. #. ## .# .. .# .# .# ## #. .. .. ## .. #. ## .# .. ## ## .# .# #. ## .. .# #. .. .. #. #. ## .. .# #. #. #...
output:
-1
result:
ok 1 number(s): "-1"
Test #7:
score: 0
Accepted
time: 64ms
memory: 63492kb
input:
1 2 100000 .......##........###.#.#..###.#....##.##.#.#.##..#..##.#.#...##.#...######...#....##..#####.###.##..#####...#....####..#.#.###...####.###..#..#.###..#########...#.#.####..##.#####..#...##.####..#.###..##..##...##...#.##.#.#..##....###..##.#...#......##...#.####.#....##...#.#....#.#.###.##...
output:
-1
result:
ok 1 number(s): "-1"
Test #8:
score: 0
Accepted
time: 52ms
memory: 28296kb
input:
10 19 64 ..#...........#.........#.............#..........#...#....#....# ....#.##......#......#..#........##.......#................#...# ...................#....#....##...#....#...#...#................ #...#....#...#.#....#.#...............#....#.................#.. ...........#......###...#.........
output:
-1 -1 -1 87 87 274 10 17 16 118
result:
ok 10 numbers
Test #9:
score: 0
Accepted
time: 33ms
memory: 16292kb
input:
10 89 145 ........#........#..#.#.................................#..#.....#......#...#...#.#.......#..........................#.#...#.............#....... ..#...#.............#....#...........................#...#....................#.....##..##.......##.....#.#..#...#....#....#.#.#...................
output:
102 259 127 9 50 107 38 16 -1 -1
result:
ok 10 numbers
Test #10:
score: 0
Accepted
time: 68ms
memory: 28796kb
input:
10 102 56 .#..#.............#...#...............#..........#...... .........#..............#.............#...#............. ......#.......................#........................# .#.............##..#..#....#............##.............. .#........#................#....#.#...........#......... ........
output:
117 -1 64 2 74 13 252 -1 -1 -1
result:
ok 10 numbers
Test #11:
score: 0
Accepted
time: 43ms
memory: 21272kb
input:
10 134 115 ...............................#...............#..............##........#.....#.......#...#...............#........ ...........#...#.......#....#.....#...............#.............#..................#......#.........#..........#... .............#.................#....................#.......
output:
31 75 157 45 9 99 47 60 -1 -1
result:
ok 10 numbers
Test #12:
score: -100
Wrong Answer
time: 43ms
memory: 4012kb
input:
1000 3 3 #p= .#. b-. 9 4 p.#. ##.# .#.# .#.b ...# =### ###- ###. .### 4 10 .p..###.=. ##..#..##. .b..##.#.# .##.-.#... 2 12 ....#....#p# ...#-#=..b## 21 33 #.########....#.#..#.#.#..###.#.. .##.##.....##.##.....#..#...###.. ..#####..###...#..#..#.#..##..### .#.#..####..#...###..####.###...# ##.#.#.....
output:
-1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 2 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 2 ...
result:
wrong answer 109th numbers differ - expected: '10', found: '-1'