QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#293992 | #4856. Puzzle: Patrick's Parabox | ucup-team025# | WA | 244ms | 84144kb | C++20 | 27.9kb | 2023-12-30 01:41:39 | 2023-12-30 01:41:40 |
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: 3536kb
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: 1ms
memory: 3488kb
input:
1 2 2 pb -=
output:
-1
result:
ok 1 number(s): "-1"
Test #3:
score: 0
Accepted
time: 244ms
memory: 3500kb
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: 48ms
memory: 32472kb
input:
1 500 200 #....#.#.#.##.#..#.#..#......#...#..#...#.#...........#.#.#..#...###..##..#.#.#.....#........#..####..#..#..#####...............#.#......#.##.#..##.........##.###.#....###..#...#.#...#...##..##.#...#. ##..##.....#.##..#.#.###.#....#...#..#.#....##..............##.....#...#....#..##.##...##...
output:
-1
result:
ok 1 number(s): "-1"
Test #5:
score: 0
Accepted
time: 55ms
memory: 32516kb
input:
1 200 500 ...##..#.....#.......##..##.#......#...#.....#.##.##..#...##...##....#..##.##..##..#..........####.......#.#...#....##....#.#..#..##....#..#......###...#.#..#.#..#..#.....#.#......#.........###....#..#.............#......#..#.#..####.#...#..#.#..##...#...##.###....#.####..#......#...#..#.....
output:
-1
result:
ok 1 number(s): "-1"
Test #6:
score: 0
Accepted
time: 64ms
memory: 84144kb
input:
1 100000 2 .. .# .. ## .. .. .. ## .# #. #. ## ## #. ## ## .. #. ## #. .. .. .. ## .# .# .# .. .# .# .# .# ## ## ## ## .. .. #. .# #. .. .# ## ## ## ## .# ## .. .# .. .. #. #. ## #. ## .# #. #. #. ## .# .. .# .# .# ## #. .. .. ## .. #. ## .# .. ## ## .# .# #. ## .. .# #. .. .. #. #. ## .. .# #. #. #...
output:
-1
result:
ok 1 number(s): "-1"
Test #7:
score: 0
Accepted
time: 71ms
memory: 64080kb
input:
1 2 100000 .......##........###.#.#..###.#....##.##.#.#.##..#..##.#.#...##.#...######...#....##..#####.###.##..#####...#....####..#.#.###...####.###..#..#.###..#########...#.#.####..##.#####..#...##.####..#.###..##..##...##...#.##.#.#..##....###..##.#...#......##...#.####.#....##...#.#....#.#.###.##...
output:
-1
result:
ok 1 number(s): "-1"
Test #8:
score: 0
Accepted
time: 67ms
memory: 28284kb
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: 16396kb
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: 76ms
memory: 28824kb
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: 49ms
memory: 21316kb
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: 54ms
memory: 4004kb
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'