QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#640216#1400. Water BottleNova_NightWind031130 307ms92144kbC++203.1kb2024-10-14 09:23:432024-10-14 09:23:44

詳細信息

Subtask #1:

score: 0
Wrong Answer

Test #1:

score: 10
Accepted
time: 0ms
memory: 16512kb

input:

59 200 200 2000
#...#.#...##.##.....#......##...#.#.#....#...........###.##.#.....###.#.##...##..#..........#..........##..#.......#...#.#...#.....#......#.#....##...##..#....#......#.#.#....#...#.#.......#.....#..#.
#..##...#..##..#..#.##............#........##.#....#.........#...##.#.................

output:

11
0
12
12
12
11
13
13
13
7
11
13
13
13
13
13
13
13
12
8
10
12
13
13
13
17
13
12
13
12
13
13
13
10
12
13
13
8
12
13
12
13
13
11
13
13
12
13
12
19
11
13
13
13
13
13
13
6
12
13
13
13
12
7
17
12
13
13
12
12
13
13
11
12
13
12
11
13
13
13
13
13
13
11
12
10
13
12
11
13
13
12
13
13
12
12
8
13
8
13
11
13
13...

result:

ok 2000 lines

Test #2:

score: 0
Wrong Answer
time: 0ms
memory: 12968kb

input:

198 77 200 2000
............##......#..........#.....##.....#...#......#......##..........#..
##..#..##..............#..........####.........##.........#....#.#.........#.
#..##.....#....##.#..#.#..##.....#.#....#..#....#...#.#.##.....#.#.#.......#.
....#...#.#......#..#......##.....#..#...............

output:

11
5
13
16
11
11
12
12
14
12
12
12
13
12
12
12
12
11
12
17
13
10
14
11
12
13
13
14
13
13
16
14
12
12
13
12
13
15
12
12
12
14
12
13
14
14
10
12
11
13
13
13
11
13
13
12
11
14
12
11
16
13
13
11
13
13
14
13
12
13
13
12
12
12
12
16
12
13
21
13
13
12
12
13
11
11
11
11
13
11
12
12
12
16
12
14
12
13
13
15
1...

result:

wrong answer 116th lines differ - expected: '12', found: '13'

Subtask #2:

score: 30
Accepted

Test #10:

score: 30
Accepted
time: 12ms
memory: 39716kb

input:

2000 100 1000 1
..##...........#..#....#.####...#...#....#.........#.#..#.#.######.##..#..#......#..#..##.#..#.##...
.........##..#.####.###..#......#.#...#.....#......#..#..#...#.##...##..##...#.#..####.##.#........#
.....#.....................##...#..#..#.#........#.#...#.#...###.....#...#.#.........

output:

40

result:

ok single line: '40'

Test #11:

score: 30
Accepted
time: 19ms
memory: 24668kb

input:

200 2000 5000 1
...#..#.##.#.#.#..#...#..#....#.##....##...#.......#.......#.##.#......#....##.##.....#.##.#.#........#..#.#..#...#.##...#..#....##.....#....##..#...##..#......#...#.#....##..##.#...##.....#......##....#.#....#..##.##..#.....##......#..#..#.....##.#..#.#..#.....##.#.#.##...##...#.......

output:

21

result:

ok single line: '21'

Test #12:

score: 30
Accepted
time: 172ms
memory: 69220kb

input:

2000 2000 5000 1
..##..#.###..#.####........##.#..##..####..#.#..#.#....#.##.#..##.##...###....##...##...##..#..####....#.##..###..##.##.##..##..####..#.##..#.#..#..##........##....#.#....##..#...##....##.##...######..#......####..#..#.#.#..##.##....#.##.#..##..##..#.###.#.##.....##.....#...#.#....#...

output:

144

result:

ok single line: '144'

Test #13:

score: 30
Accepted
time: 249ms
memory: 77924kb

input:

1988 2000 5000 1
......#....#..#........###....#..#..#...#...##......#.##..#..#.....#....#....#.##.##...#...#.##.......###..#..#.#..##...#.#..#.##.##.....##.#........#.#..##.#...####.#...##.###.......#.....#...###.#....###..#...#.....#.#.#...#....#..#..#....#..#.#.#.#..#.#..#.......##....#.#..#..#.#...

output:

52

result:

ok single line: '52'

Test #14:

score: 30
Accepted
time: 283ms
memory: 86996kb

input:

2000 2000 5000 1
.........#.#......###..................#......#.......##..#.....#.#.####.#...#.##..........#..##...#.#.#.#.#..#.#..##...#...##....#...#..#......#.#.#................##...#..#...........##.##...........#...#..#..#.##......#.....#.###.......#..............................###......#......

output:

48

result:

ok single line: '48'

Test #15:

score: 30
Accepted
time: 183ms
memory: 68964kb

input:

2000 2000 5000 1
..#....#....#.#.##...#.###.##.#..##.####.......#.#..##...##.#.#.#..##.#.##...#.#.##..#.#..#........#........##....#.....#..#..#...##..###..#......#####.###.##.....#...#..##...#..#..#..#...#.....#.#...######......##...##..###.#####...##.#..#...#..##..#......#..#.#.###......#..##.#.#....

output:

-1

result:

ok single line: '-1'

Test #16:

score: 30
Accepted
time: 247ms
memory: 77556kb

input:

2000 1987 5000 1
#......#....#.#.....#.#...#.........#...##......##....##......#.#...##.##.#....#..#...#...#.......##...#....#.......#.......#....#....##.....##..#.#.....###...##...............##....#....#####.#....##...#.#.#.....##.#.##........####........##.#..##...##....#...#...##..##.###..#........

output:

51

result:

ok single line: '51'

Test #17:

score: 30
Accepted
time: 307ms
memory: 83372kb

input:

2000 2000 5000 1
..............##.........#.#...............#....#...#....##.###.....#.##.#.#..#...#.......#..#............#....#.###..#.......#.##...#........#...#..#.#.#.....###....................#.......##.....#..#......#..........#.#.#.................##....#........#...#..#.##..#..........#.#....

output:

49

result:

ok single line: '49'

Test #18:

score: 30
Accepted
time: 272ms
memory: 92144kb

input:

2000 1995 5000 1
..................................#...#.......................................#..................................#......................................................................#....#...................#.......................#....................................................

output:

44

result:

ok single line: '44'

Test #19:

score: 30
Accepted
time: 222ms
memory: 73412kb

input:

2000 2000 500 1
.........#...#...#..#..#..#..##...##...#.#..#...##.....#..#..#..##.#..###.#..#..#.##.............#.#.#..#...#....#.#.....##.###...##.#.....#..#..##..#.###...###...#........##.#..#.#..###.......##...#..##...#...###...#.#....#.....####....#.....#..#...#...#..#.....#..#......##.#.....#....

output:

166

result:

ok single line: '166'

Test #20:

score: 30
Accepted
time: 227ms
memory: 76540kb

input:

2000 2000 2000 1
.#..#..#....#.#..#.#..#.#####......###......#......#..#.........#.##....#..#.....#.#.......###.......#............##...#..##...#.#...#..#...#......#...#..#......#..............#.##.........#.....#....#.......#.#.......##...#.#...#......#.....#..#.......##..#....##.....#.....#.#........

output:

81

result:

ok single line: '81'

Test #21:

score: 30
Accepted
time: 90ms
memory: 71668kb

input:

2000 2000 5000 1
..............................................................................................................................................................................................................................................................................................

output:

13

result:

ok single line: '13'

Test #22:

score: 30
Accepted
time: 116ms
memory: 71368kb

input:

2000 2000 5000 1
..............................................................................................................................................................................................................................................................................................

output:

2365

result:

ok single line: '2365'

Test #23:

score: 30
Accepted
time: 78ms
memory: 71144kb

input:

2000 2000 5000 1
..............................................................................................................................................................................................................................................................................................

output:

1062003

result:

ok single line: '1062003'

Test #24:

score: 30
Accepted
time: 120ms
memory: 68200kb

input:

2000 2000 5000 1
..............................................................................................................................................................................................................................................................................................

output:

2247

result:

ok single line: '2247'

Subtask #3:

score: 0
Wrong Answer

Dependency #2:

100%
Accepted

Test #25:

score: 0
Wrong Answer
time: 13ms
memory: 39028kb

input:

2000 100 1000 1000
#.....##.....#..##..........#....#..#..##.#..#....#..##..#...#......#....###.#.#..#...##..#....##...
##.#.#...#.####..#.#..#.#........##..........#..#....##..#.......#..........###..#.#..#..........#..
...##...##..##.#....#.#..#......#........####.#....#.##.#.#..#.#..#........#......

output:

31
34
33
31
22
37
33
31
33
33
30
-1
34
34
30
33
33
31
31
33
37
33
31
28
33
33
31
31
31
33
31
33
33
30
35
33
33
30
33
31
26
33
33
30
32
31
33
24
-1
31
30
33
33
-1
-1
32
33
31
31
33
30
33
-1
22
33
37
33
33
31
33
-1
33
28
37
24
33
33
33
30
32
33
31
34
18
33
33
31
25
33
24
33
30
33
28
30
30
30
31
33
35
...

result:

wrong answer 94th lines differ - expected: '26', found: '28'

Subtask #4:

score: 0
Skipped

Dependency #1:

0%