QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#673252 | #1066. ROBOTS | yellowbird | 500 ✓ | 558ms | 92004kb | C++20 | 2.5kb | 2024-10-24 21:22:50 | 2024-10-24 21:22:50 |
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: 10
Accepted
Test #1:
score: 10
Accepted
time: 0ms
memory: 13976kb
input:
2 2 1 12
output:
1
result:
ok single line: '1'
Test #2:
score: 10
Accepted
time: 0ms
memory: 14024kb
input:
2 3 1 1x2
output:
-1
result:
ok single line: '-1'
Test #3:
score: 10
Accepted
time: 0ms
memory: 14304kb
input:
2 4 1 .12.
output:
2
result:
ok single line: '2'
Test #4:
score: 10
Accepted
time: 2ms
memory: 12032kb
input:
2 10 10 ...x...x.2 .x.x.x.x.x .x.x.x.x.x .x.x.x.x.x .x.x.x.x.x .x.x.x.x.x .x.x.x.x.x .x.x.x.x.x .x.x.x.x.x 1x...x...x
output:
10
result:
ok single line: '10'
Test #5:
score: 10
Accepted
time: 3ms
memory: 14132kb
input:
2 10 10 .......... .xx..xx... xx..xx..x. x..xx..xx. ..xx..xx.. .xx..xx..x xx..xx..xx x..xx..xx2 ..xx..xx.. 1xx......x
output:
29
result:
ok single line: '29'
Subtask #2:
score: 20
Accepted
Dependency #1:
100%
Accepted
Test #6:
score: 20
Accepted
time: 0ms
memory: 14032kb
input:
2 2 2 1C .2
output:
1
result:
ok single line: '1'
Test #7:
score: 20
Accepted
time: 3ms
memory: 11976kb
input:
2 3 1 1A2
output:
2
result:
ok single line: '2'
Test #8:
score: 20
Accepted
time: 2ms
memory: 11992kb
input:
2 3 3 .x. 1CA .x2
output:
2
result:
ok single line: '2'
Test #9:
score: 20
Accepted
time: 0ms
memory: 11984kb
input:
2 6 2 C1CA2A CCCAAA
output:
6
result:
ok single line: '6'
Test #10:
score: 20
Accepted
time: 0ms
memory: 14004kb
input:
2 10 10 C.CxC.CxC2 .x.x.x.x.x .x.x.x.x.x .x.x.x.x.x .x.x.x.x.x .x.x.x.x.x .x.x.x.x.x .x.x.x.x.x .x.x.x.x.x 1xA.AxA.Ax
output:
1
result:
ok single line: '1'
Subtask #3:
score: 30
Accepted
Dependency #2:
100%
Accepted
Test #11:
score: 30
Accepted
time: 116ms
memory: 74440kb
input:
9 296 298 2..x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...xx...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x....
output:
47593
result:
ok single line: '47593'
Test #12:
score: 30
Accepted
time: 10ms
memory: 19340kb
input:
1 296 298 1..x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...xx...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x....
output:
0
result:
ok single line: '0'
Test #13:
score: 30
Accepted
time: 50ms
memory: 51456kb
input:
7 300 300 .x...x...x...x...x..4x...x...x...x...x...x...x...x..1x...x...x...x...x...x..5x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x..6x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x..7x...x...
output:
438
result:
ok single line: '438'
Test #14:
score: 30
Accepted
time: 183ms
memory: 67812kb
input:
9 296 298 1AAxAAAxAAAxAAAxAAAxAAAxAAAxAAAxAAAxAAAxAAAxAAAxAAAxAAAxAAAxAAAxAAAxAAAxAAAxAAAxAAAxAAAxAAAxAAAxAAAxAAAxAAAxAAAxAAAxAAAxAAAxAAAxAAAxAAAxAAAxAAAxAAAxxCCCxCCCxCCCxCCCxCCCxCCCxCCCxCCCxCCCxCCCxCCCxCCCxCCCxCCCxCCCxCCCxCCCxCCCxCCCxCCCxCCCxCCCxCCCxCCCxCCCxCCCxCCCxCCCxCCCxCCCxCCCxCCCxCCCxCCCxCCCxC...
output:
45376
result:
ok single line: '45376'
Test #15:
score: 30
Accepted
time: 97ms
memory: 68192kb
input:
9 296 298 4..x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...xx...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x....
output:
-1
result:
ok single line: '-1'
Subtask #4:
score: 40
Accepted
Dependency #3:
100%
Accepted
Test #16:
score: 40
Accepted
time: 287ms
memory: 92004kb
input:
9 500 500 .....................................................................................................................................................................................................................................................................................................
output:
44
result:
ok single line: '44'
Test #17:
score: 40
Accepted
time: 558ms
memory: 85112kb
input:
9 496 500 2AAxAAAxAAAxAAAxAAAxAAAxAAAxAAAxAAAxAAAxAAAxAAAxAAAxAAAxAAAxAAAxAAAxAAAxAAAxAAAxAAAxAAAxAAAxAAAxAAAxAAAxAAAxAAAxAAAxAAAxAAAxAAAxAAAxAAAxAAAxAAAxAAAxAAAxAAAxAAAxAAAxAAAxAAAxAAAxAAAxAAAxAAAxAAAxAAAxAAAxAAAxAAAxAAAxAAAxAAAxAAAxAAAxAAAxAAAxAAAxAAAxAAAxxCCCxCCCxCCCxCCCxCCCxCCCxCCCxCCCxCCCxCCCxC...
output:
138163
result:
ok single line: '138163'
Test #18:
score: 40
Accepted
time: 279ms
memory: 85100kb
input:
9 496 500 4..x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...xx...x...x...x...x...x...x...x...x...x...x....
output:
-1
result:
ok single line: '-1'
Test #19:
score: 40
Accepted
time: 269ms
memory: 88264kb
input:
9 500 500 .x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x..4x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x..7x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...
output:
484
result:
ok single line: '484'
Test #20:
score: 40
Accepted
time: 418ms
memory: 82832kb
input:
9 496 500 4..x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...x...xx...x...x...x...x...x...x...x...x...x...x....
output:
126926
result:
ok single line: '126926'