QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#630063 | #411. Dangerous Skating | Nova_NightWind0311 | 100 ✓ | 485ms | 134708kb | C++20 | 2.6kb | 2024-10-11 16:17:36 | 2024-10-11 16:17:38 |
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
Subtask #1:
score: 13
Accepted
Test #1:
score: 13
Accepted
time: 0ms
memory: 20048kb
input:
10 10 ########## #....#.### #.......## #........# #.......## ##.......# #.......## #.....#.## #.....#..# ########## 4 7 8 5
output:
6
result:
ok single line: '6'
Test #2:
score: 13
Accepted
time: 3ms
memory: 20152kb
input:
10 10 ########## #.....#.## #....#...# #..#....## #........# #.#......# #...##.#.# #........# #..#.....# ########## 9 9 9 8
output:
2
result:
ok single line: '2'
Test #3:
score: 13
Accepted
time: 0ms
memory: 18080kb
input:
10 10 ########## #..#.....# #....#.#.# ##..#.##.# ##......## ##.#...#.# #..#.##..# #..###...# ##...#..## ########## 4 9 5 6
output:
10
result:
ok single line: '10'
Test #4:
score: 13
Accepted
time: 0ms
memory: 17976kb
input:
10 10 ########## ##.####### ##.#.##.## ##.###.### #.....#.## #####..### ######...# ##....##.# ###.###.## ########## 8 9 4 3
output:
10
result:
ok single line: '10'
Test #5:
score: 13
Accepted
time: 0ms
memory: 18012kb
input:
10 10 ########## #.#.#....# ##..#....# #...####.# #.##.#..## ##..##..## #..##..#.# #.#....#.# #....#...# ########## 4 9 2 2
output:
-1
result:
ok single line: '-1'
Test #6:
score: 13
Accepted
time: 0ms
memory: 18084kb
input:
10 10 ########## #........# #........# #........# #........# #........# #........# #........# #........# ########## 4 4 7 7
output:
10
result:
ok single line: '10'
Test #7:
score: 13
Accepted
time: 5ms
memory: 20120kb
input:
10 6 ###### #....# #....# #....# #....# #....# #....# #....# #....# ###### 3 3 8 4
output:
5
result:
ok single line: '5'
Test #8:
score: 13
Accepted
time: 0ms
memory: 20064kb
input:
10 9 ######### ##.....## #.......# #.......# #....#..# #.....#.# #..#..#.# #.#####.# #.#....## ######### 5 4 9 5
output:
-1
result:
ok single line: '-1'
Test #9:
score: 13
Accepted
time: 0ms
memory: 18004kb
input:
10 10 ########## #..#.....# #...##.#.# #....#...# #...#.#.## #......#.# #.......## #...#..#.# #......#.# ########## 2 3 2 3
output:
0
result:
ok single line: '0'
Test #10:
score: 13
Accepted
time: 0ms
memory: 17964kb
input:
10 10 ########## ###......# #..#...#.# #....#...# ##......## #........# #..#...#.# #.#.....## #.....##.# ########## 2 9 5 4
output:
7
result:
ok single line: '7'
Subtask #2:
score: 65
Accepted
Test #11:
score: 65
Accepted
time: 11ms
memory: 28276kb
input:
200 200 ######################################################################################################################################################################################################## #.............................................................................................
output:
69
result:
ok single line: '69'
Test #12:
score: 65
Accepted
time: 12ms
memory: 30356kb
input:
200 200 ######################################################################################################################################################################################################## #....................................................................................#........
output:
27
result:
ok single line: '27'
Test #13:
score: 65
Accepted
time: 8ms
memory: 32580kb
input:
200 200 ######################################################################################################################################################################################################## #.............................................................................#...............
output:
12
result:
ok single line: '12'
Test #14:
score: 65
Accepted
time: 13ms
memory: 21280kb
input:
200 200 ######################################################################################################################################################################################################## #......#.......#....#.........#.......#....##.#..#.....#..#..#.....#....#...#.....#.#.#.......
output:
42
result:
ok single line: '42'
Test #15:
score: 65
Accepted
time: 0ms
memory: 26444kb
input:
200 200 ######################################################################################################################################################################################################## #.#..#.###.#..#.##..#.....#.#.#.#.###.#.###..#.#...#.####..#####..###.....#..#..##.#...####...
output:
-1
result:
ok single line: '-1'
Test #16:
score: 65
Accepted
time: 11ms
memory: 28380kb
input:
200 200 ######################################################################################################################################################################################################## #...#.............##.#................................................#.#.....................
output:
28
result:
ok single line: '28'
Test #17:
score: 65
Accepted
time: 12ms
memory: 25544kb
input:
200 200 ######################################################################################################################################################################################################## #.........#.......#............#...........#...#.............#.......................#........
output:
390
result:
ok single line: '390'
Test #18:
score: 65
Accepted
time: 10ms
memory: 21272kb
input:
200 200 ######################################################################################################################################################################################################## #.....#.......................................#....................#...#........#....#........
output:
501
result:
ok single line: '501'
Test #19:
score: 65
Accepted
time: 7ms
memory: 31712kb
input:
200 200 ######################################################################################################################################################################################################## #.........##.....#..........#.#..............##..#................#..................#........
output:
82
result:
ok single line: '82'
Test #20:
score: 65
Accepted
time: 6ms
memory: 23864kb
input:
190 200 ######################################################################################################################################################################################################## #.............................................................................................
output:
110
result:
ok single line: '110'
Test #21:
score: 65
Accepted
time: 4ms
memory: 25092kb
input:
200 200 ######################################################################################################################################################################################################## #..###...###...###...###...###...###...###...###...###...###...###...###...###...###...###....
output:
25350
result:
ok single line: '25350'
Test #22:
score: 65
Accepted
time: 3ms
memory: 26044kb
input:
200 195 ################################################################################################################################################################################################### #..................................................................................................
output:
12813
result:
ok single line: '12813'
Test #23:
score: 65
Accepted
time: 8ms
memory: 25276kb
input:
200 200 ######################################################################################################################################################################################################## #....#....................#..#......#............#................#........#..................
output:
134
result:
ok single line: '134'
Test #24:
score: 65
Accepted
time: 7ms
memory: 32204kb
input:
200 200 ######################################################################################################################################################################################################## #.............................................................................................
output:
191
result:
ok single line: '191'
Test #25:
score: 65
Accepted
time: 3ms
memory: 25140kb
input:
200 200 ######################################################################################################################################################################################################## #....#.#................#....#.#...#.....#.....#.#.......#.#............#...#......#.#..#.....
output:
330
result:
ok single line: '330'
Test #26:
score: 65
Accepted
time: 11ms
memory: 21008kb
input:
200 200 ######################################################################################################################################################################################################## #.......#...#.#..#......#......#....#...........#...#.........#.....#..#......##..#...........
output:
408
result:
ok single line: '408'
Subtask #3:
score: 22
Accepted
Test #27:
score: 22
Accepted
time: 419ms
memory: 130588kb
input:
1000 1000 ##################################################################################################################################################################################################################################################################################################...
output:
126
result:
ok single line: '126'
Test #28:
score: 22
Accepted
time: 485ms
memory: 131744kb
input:
1000 1000 ##################################################################################################################################################################################################################################################################################################...
output:
81
result:
ok single line: '81'
Test #29:
score: 22
Accepted
time: 461ms
memory: 134708kb
input:
1000 1000 ##################################################################################################################################################################################################################################################################################################...
output:
9
result:
ok single line: '9'
Test #30:
score: 22
Accepted
time: 352ms
memory: 123572kb
input:
1000 1000 ##################################################################################################################################################################################################################################################################################################...
output:
46
result:
ok single line: '46'
Test #31:
score: 22
Accepted
time: 87ms
memory: 89756kb
input:
1000 1000 ##################################################################################################################################################################################################################################################################################################...
output:
-1
result:
ok single line: '-1'
Test #32:
score: 22
Accepted
time: 296ms
memory: 130004kb
input:
1000 1000 ##################################################################################################################################################################################################################################################################################################...
output:
1994
result:
ok single line: '1994'
Test #33:
score: 22
Accepted
time: 67ms
memory: 50308kb
input:
500 500 ####################################################################################################################################################################################################################################################################################################...
output:
433
result:
ok single line: '433'
Test #34:
score: 22
Accepted
time: 179ms
memory: 118920kb
input:
1000 1000 ##################################################################################################################################################################################################################################################################################################...
output:
675
result:
ok single line: '675'
Test #35:
score: 22
Accepted
time: 312ms
memory: 128780kb
input:
1000 1000 ##################################################################################################################################################################################################################################################################################################...
output:
506
result:
ok single line: '506'
Test #36:
score: 22
Accepted
time: 242ms
memory: 119668kb
input:
1000 1000 ##################################################################################################################################################################################################################################################################################################...
output:
319
result:
ok single line: '319'
Test #37:
score: 22
Accepted
time: 127ms
memory: 106576kb
input:
1000 1000 ##################################################################################################################################################################################################################################################################################################...
output:
1141
result:
ok single line: '1141'
Test #38:
score: 22
Accepted
time: 438ms
memory: 131168kb
input:
1000 1000 ##################################################################################################################################################################################################################################################################################################...
output:
99
result:
ok single line: '99'
Test #39:
score: 22
Accepted
time: 178ms
memory: 103884kb
input:
1000 1000 ##################################################################################################################################################################################################################################################################################################...
output:
660018
result:
ok single line: '660018'
Test #40:
score: 22
Accepted
time: 50ms
memory: 67280kb
input:
1000 1000 ##################################################################################################################################################################################################################################################################################################...
output:
332551
result:
ok single line: '332551'
Extra Test:
score: 0
Extra Test Passed