QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#93603 | #5248. Wieczór gier [C] | came11ia | 10 ✓ | 4ms | 3792kb | C++14 | 1.5kb | 2023-04-01 20:50:15 | 2023-04-01 20:50:18 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
详细
Subtask #1:
score: 1
Accepted
Test #1:
score: 1
Accepted
time: 1ms
memory: 3688kb
input:
2 2 .. .O O. ..
output:
0.50000000000000
result:
ok found '0.50000000000000', expected '0.50000000000000', error '0.00000000000000'
Test #2:
score: 0
Accepted
time: 2ms
memory: 3584kb
input:
2 2 .O .. O. ..
output:
0.00000000000000
result:
ok found '0.00000000000000', expected '0.00000000000000', error '-0.00000000000000'
Test #3:
score: 0
Accepted
time: 1ms
memory: 3588kb
input:
2 2 O. .O O. .O
output:
0.50000000000000
result:
ok found '0.50000000000000', expected '0.50000000000000', error '0.00000000000000'
Test #4:
score: 0
Accepted
time: 1ms
memory: 3688kb
input:
2 2 O. .O O. O.
output:
0.00000000000000
result:
ok found '0.00000000000000', expected '0.00000000000000', error '-0.00000000000000'
Test #5:
score: 0
Accepted
time: 0ms
memory: 3748kb
input:
2 2 .O OO OO O.
output:
0.50000000000000
result:
ok found '0.50000000000000', expected '0.50000000000000', error '0.00000000000000'
Test #6:
score: 0
Accepted
time: 2ms
memory: 3556kb
input:
2 2 OO O. O. OO
output:
0.00000000000000
result:
ok found '0.00000000000000', expected '0.00000000000000', error '-0.00000000000000'
Subtask #2:
score: 1
Accepted
Test #7:
score: 1
Accepted
time: 3ms
memory: 3548kb
input:
2 1 . O . O
output:
1.00000000000000
result:
ok found '1.00000000000000', expected '1.00000000000000', error '0.00000000000000'
Test #8:
score: 0
Accepted
time: 4ms
memory: 3764kb
input:
2 1 . O O .
output:
0.00000000000000
result:
ok found '0.00000000000000', expected '0.00000000000000', error '-0.00000000000000'
Test #9:
score: 0
Accepted
time: 2ms
memory: 3540kb
input:
1 2 O. O.
output:
1.00000000000000
result:
ok found '1.00000000000000', expected '1.00000000000000', error '0.00000000000000'
Test #10:
score: 0
Accepted
time: 1ms
memory: 3756kb
input:
1 2 .O O.
output:
0.00000000000000
result:
ok found '0.00000000000000', expected '0.00000000000000', error '-0.00000000000000'
Test #11:
score: 0
Accepted
time: 2ms
memory: 3688kb
input:
3 1 . O . . O .
output:
1.00000000000000
result:
ok found '1.00000000000000', expected '1.00000000000000', error '0.00000000000000'
Test #12:
score: 0
Accepted
time: 2ms
memory: 3556kb
input:
3 1 O . O O O .
output:
0.00000000000000
result:
ok found '0.00000000000000', expected '0.00000000000000', error '-0.00000000000000'
Test #13:
score: 0
Accepted
time: 3ms
memory: 3580kb
input:
1 3 O.O O.O
output:
1.00000000000000
result:
ok found '1.00000000000000', expected '1.00000000000000', error '0.00000000000000'
Test #14:
score: 0
Accepted
time: 3ms
memory: 3548kb
input:
1 3 .O. ..O
output:
0.00000000000000
result:
ok found '0.00000000000000', expected '0.00000000000000', error '-0.00000000000000'
Subtask #3:
score: 1
Accepted
Test #15:
score: 1
Accepted
time: 2ms
memory: 3768kb
input:
3 2 .. O. .. .. .. .O
output:
0.28571428571429
result:
ok found '0.28571428571429', expected '0.28571428571429', error '0.00000000000000'
Test #16:
score: 0
Accepted
time: 2ms
memory: 3772kb
input:
3 2 .. O. .O .O .. O.
output:
0.00000000000000
result:
ok found '0.00000000000000', expected '0.00000000000000', error '-0.00000000000000'
Test #17:
score: 0
Accepted
time: 1ms
memory: 3588kb
input:
2 3 O.. O.O ..O O.O
output:
0.09523809523810
result:
ok found '0.09523809523810', expected '0.09523809523810', error '0.00000000000000'
Test #18:
score: 0
Accepted
time: 3ms
memory: 3700kb
input:
2 3 .OO OO. .OO OO.
output:
0.14285714285714
result:
ok found '0.14285714285714', expected '0.14285714285714', error '0.00000000000000'
Test #19:
score: 0
Accepted
time: 2ms
memory: 3692kb
input:
3 3 OO. .O. O.O .OO .OO ..O
output:
0.00000000000000
result:
ok found '0.00000000000000', expected '0.00000000000000', error '-0.00000000000000'
Test #20:
score: 0
Accepted
time: 2ms
memory: 3520kb
input:
3 3 O.. .OO OOO OOO OO. ..O
output:
0.02380952380952
result:
ok found '0.02380952380952', expected '0.02380952380952', error '0.00000000000000'
Test #21:
score: 0
Accepted
time: 2ms
memory: 3772kb
input:
3 3 OOO .OO OO. O.O OOO O.O
output:
0.00000000000000
result:
ok found '0.00000000000000', expected '0.00000000000000', error '-0.00000000000000'
Test #22:
score: 0
Accepted
time: 2ms
memory: 3552kb
input:
3 3 OOO OOO O.O OOO .OO OOO
output:
0.25000000000000
result:
ok found '0.25000000000000', expected '0.25000000000000', error '0.00000000000000'
Subtask #4:
score: 1
Accepted
Test #23:
score: 1
Accepted
time: 2ms
memory: 3592kb
input:
4 3 ... .O. ... ... ... O.. ... ...
output:
0.00000000000000
result:
ok found '0.00000000000000', expected '0.00000000000000', error '-0.00000000000000'
Test #24:
score: 0
Accepted
time: 2ms
memory: 3552kb
input:
3 3 .OO ... O.. O.. ..O ..O
output:
0.01984126984127
result:
ok found '0.01984126984127', expected '0.01984126984127', error '0.00000000000000'
Test #25:
score: 0
Accepted
time: 1ms
memory: 3704kb
input:
4 4 O... .OO. O..O .... O... O... .O.. .O.O
output:
0.00041625041625
result:
ok found '0.00041625041625', expected '0.00041625041625', error '0.00000000000000'
Test #26:
score: 0
Accepted
time: 0ms
memory: 3556kb
input:
4 3 ..O OO. OO. O.O OOO ... O.O .OO
output:
0.00280112044818
result:
ok found '0.00280112044818', expected '0.00280112044818', error '0.00000000000000'
Test #27:
score: 0
Accepted
time: 0ms
memory: 3560kb
input:
4 4 .OO. .... .OO. OO.O ..OO O..O O.OO ....
output:
0.00015262515263
result:
ok found '0.00015262515263', expected '0.00015262515263', error '0.00000000000000'
Subtask #5:
score: 1
Accepted
Test #28:
score: 1
Accepted
time: 2ms
memory: 3704kb
input:
4 3 ... ..O O.. ... .O. ... .O. ...
output:
0.00000000000000
result:
ok found '0.00000000000000', expected '0.00000000000000', error '-0.00000000000000'
Test #29:
score: 0
Accepted
time: 2ms
memory: 3560kb
input:
3 3 ... ..O OOO O.. OO. .O.
output:
0.01428571428571
result:
ok found '0.01428571428571', expected '0.01428571428571', error '0.00000000000000'
Test #30:
score: 0
Accepted
time: 2ms
memory: 3760kb
input:
4 3 .OO O.O O.. ..O ... OOO ... OOO
output:
0.00210084033613
result:
ok found '0.00210084033613', expected '0.00210084033613', error '0.00000000000000'
Test #31:
score: 0
Accepted
time: 2ms
memory: 3724kb
input:
4 4 .O.O O..O .... OOOO ..O. OO.. ..OO .OOO
output:
0.00015782828283
result:
ok found '0.00015782828283', expected '0.00015782828283', error '0.00000000000000'
Test #32:
score: 0
Accepted
time: 2ms
memory: 3596kb
input:
4 4 OO.O ...O .OO. .OO. ..O. .OOO OOO. ...O
output:
0.00015782828283
result:
ok found '0.00015782828283', expected '0.00015782828283', error '0.00000000000000'
Subtask #6:
score: 1
Accepted
Test #33:
score: 1
Accepted
time: 2ms
memory: 3564kb
input:
4 5 O..O. .O..O .OO.. ...OO ..OO. ...O. O.O.O ..OO.
output:
0.00001824551160
result:
ok found '0.00001824551160', expected '0.00001824551160', error '0.00000000000000'
Test #34:
score: 0
Accepted
time: 2ms
memory: 3720kb
input:
5 4 ...O .... OOOO .... OO.O O..O ...O ..OO .... O.OO
output:
0.00001317731394
result:
ok found '0.00001317731394', expected '0.00001317731394', error '0.00000000000000'
Test #35:
score: 0
Accepted
time: 2ms
memory: 3712kb
input:
5 5 O.OO. ..... O.... ....O O.O.O O.O.. .O.O. .OOO. ..... O....
output:
0.00000193753391
result:
ok found '0.00000193753391', expected '0.00000193753391', error '0.00000000000000'
Test #36:
score: 0
Accepted
time: 2ms
memory: 3596kb
input:
5 5 ...O. O.... O.... .OO.. O..O. ..... .O.O. O.O.. ...OO O....
output:
0.00000000000000
result:
ok found '0.00000000000000', expected '0.00000000000000', error '-0.00000000000000'
Test #37:
score: 0
Accepted
time: 2ms
memory: 3568kb
input:
5 5 ..O.. OOO.O ..... ....O ..O.O ...O. ..OO. .OO.. ...O. O.O..
output:
0.00000000000000
result:
ok found '0.00000000000000', expected '0.00000000000000', error '-0.00000000000000'
Test #38:
score: 0
Accepted
time: 2ms
memory: 3548kb
input:
5 5 ..OO. ...OO ....O .O... ..O.. O...O ..O.. .O... O...O ....O
output:
0.00000445778478
result:
ok found '0.00000445778478', expected '0.00000445778478', error '0.00000000000000'
Subtask #7:
score: 1
Accepted
Test #39:
score: 1
Accepted
time: 2ms
memory: 3600kb
input:
6 4 ..OO ...O ...O .... .OO. .OO. .O.O ..O. OO.O .... OO.. ....
output:
0.00000339470968
result:
ok found '0.00000339470968', expected '0.00000339470968', error '0.00000000000000'
Test #40:
score: 0
Accepted
time: 3ms
memory: 3604kb
input:
4 6 O..... .O.O.. ..O.O. OOO... ...O.. ....O. .O.OOO ....OO
output:
0.00000231457478
result:
ok found '0.00000231457478', expected '0.00000231457478', error '0.00000000000000'
Test #41:
score: 0
Accepted
time: 2ms
memory: 3784kb
input:
6 6 O..O.. .OO.O. .O.... ....OO ...... ...... ...... ...... ..O... .OO... .OOOOO ......
output:
0.00000000000000
result:
ok found '0.00000000000000', expected '0.00000000000000', error '-0.00000000000000'
Test #42:
score: 0
Accepted
time: 3ms
memory: 3580kb
input:
6 6 .O.... ...O.. ..O... O.O... O..O.. ...... O.O... ...O.. ..OO.. ...... ...... O..O..
output:
0.00000022306425
result:
ok found '0.00000022306425', expected '0.00000022306425', error '0.00000000000000'
Test #43:
score: 0
Accepted
time: 3ms
memory: 3720kb
input:
6 6 ....O. O...O. ...... .OOO.. ...... O.O... .O...O .O.... ...... ....O. O...O. .O.O..
output:
0.00000006815852
result:
ok found '0.00000006815852', expected '0.00000006815852', error '0.00000000000000'
Test #44:
score: 0
Accepted
time: 0ms
memory: 3652kb
input:
6 6 ...O.. .OO..O .O.... ...O.. O..... .O.... .O...O ..O... O...OO ...... ....O. O.....
output:
0.00000007125663
result:
ok found '0.00000007125663', expected '0.00000007125663', error '0.00000000000000'
Subtask #8:
score: 1
Accepted
Test #45:
score: 1
Accepted
time: 0ms
memory: 3556kb
input:
7 2 .O .O O. .O OO .. O. .O O. OO O. .O O. ..
output:
0.00079744816587
result:
ok found '0.00079744816587', expected '0.00079744816587', error '0.00000000000000'
Test #46:
score: 0
Accepted
time: 1ms
memory: 3704kb
input:
1 7 OOO.OOO OOO.OOO
output:
0.33333333333333
result:
ok found '0.33333333333333', expected '0.33333333333333', error '0.00000000000000'
Test #47:
score: 0
Accepted
time: 0ms
memory: 3608kb
input:
7 6 ...... .O.... ....O. ...... OO...O ..OO.. ..O... ....O. .OO... ...OO. ...... ...O.. .O.... .....O
output:
0.00000000000000
result:
ok found '0.00000000000000', expected '0.00000000000000', error '-0.00000000000000'
Test #48:
score: 0
Accepted
time: 1ms
memory: 3588kb
input:
6 7 ....... ...O..O ...O..O .OO.O.. ....... ....... ....OO. ...O... ....... ......O ..O..O. ....O..
output:
0.00000008072654
result:
ok found '0.00000008072654', expected '0.00000008072654', error '0.00000000000000'
Test #49:
score: 0
Accepted
time: 2ms
memory: 3732kb
input:
7 7 ...O... ....... ....... .O....O .O...O. ....... .OOO... .....O. ....O.. ....... O.O.... O...... ...O.O. ....O..
output:
0.00000000492155
result:
ok found '0.00000000492155', expected '0.00000000492155', error '0.00000000000000'
Test #50:
score: 0
Accepted
time: 3ms
memory: 3792kb
input:
7 7 ..O.... O...O.. ....... .....O. .O.O... ....OO. ....... .O..O.O ..OO... ......O O...... ....... ....... ..O....
output:
0.00000000435368
result:
ok found '0.00000000435368', expected '0.00000000435368', error '0.00000000000000'
Subtask #9:
score: 1
Accepted
Test #51:
score: 1
Accepted
time: 0ms
memory: 3520kb
input:
8 1 . . . . . O . . . O . . . . . .
output:
0.28571428571429
result:
ok found '0.28571428571429', expected '0.28571428571429', error '0.00000000000000'
Test #52:
score: 0
Accepted
time: 0ms
memory: 3552kb
input:
7 1 . . O . . . . . . . . O . .
output:
0.33333333333333
result:
ok found '0.33333333333333', expected '0.33333333333333', error '0.00000000000000'
Test #53:
score: 0
Accepted
time: 2ms
memory: 3592kb
input:
8 8 ........ ........ ........ ........ ....O... ........ ........ ........ ........ ........ ........ .......O ........ ........ ........ ........
output:
0.02678571428571
result:
ok found '0.02678571428571', expected '0.02678571428571', error '0.00000000000000'
Test #54:
score: 0
Accepted
time: 2ms
memory: 3564kb
input:
8 8 ........ ...O.... ........ ...O.... ........ ...O.... ........ ........ ........ O....... ...O.... ........ ........ ...O.... ........ ........
output:
0.00005193775025
result:
ok found '0.00005193775025', expected '0.00005193775025', error '0.00000000000000'
Test #55:
score: 0
Accepted
time: 0ms
memory: 3596kb
input:
8 8 .....O.. ........ .O..O... O....... ........ .O...... ........ ........ ........ ..O..... .......O .....O.. .O...... O....... ........ ........
output:
0.00000000000000
result:
ok found '0.00000000000000', expected '0.00000000000000', error '-0.00000000000000'
Test #56:
score: 0
Accepted
time: 2ms
memory: 3632kb
input:
8 8 ..O..... ........ .O....O. O.O...O. ......O. ........ ........ ........ .......O .....O.O ......O. ........ ........ ........ ...O.O.. O.......
output:
0.00000000305004
result:
ok found '0.00000000305004', expected '0.00000000305004', error '0.00000000000000'
Test #57:
score: 0
Accepted
time: 2ms
memory: 3564kb
input:
8 8 OOOO.... OOOO.... ........ ........ ........ ........ ........ ........ OO...... OO...... OO...... OO...... ........ ........ ........ ........
output:
0.00000000010893
result:
ok found '0.00000000010893', expected '0.00000000010893', error '0.00000000000000'
Subtask #10:
score: 1
Accepted
Test #58:
score: 1
Accepted
time: 1ms
memory: 3552kb
input:
1 8 OOOOOOO. O.OOOOOO
output:
0.28571428571429
result:
ok found '0.28571428571429', expected '0.28571428571429', error '0.00000000000000'
Test #59:
score: 0
Accepted
time: 2ms
memory: 3692kb
input:
1 7 OOOOOO. OOO.OOO
output:
0.00000000000000
result:
ok found '0.00000000000000', expected '0.00000000000000', error '-0.00000000000000'
Test #60:
score: 0
Accepted
time: 1ms
memory: 3752kb
input:
8 8 ........ .....O.. ........ ........ ...O.... ........ ........ ........ .....O.. ........ ........ ........ ........ ........ O....... ........
output:
0.00086405529954
result:
ok found '0.00086405529954', expected '0.00086405529954', error '0.00000000000000'
Test #61:
score: 0
Accepted
time: 0ms
memory: 3752kb
input:
8 8 ........ ........ ......O. .....O.. ........ ........ ...O.... ..O..... ........ ....O... ........ ........ ....O... .....O.. ........ ....O...
output:
0.00000354121024
result:
ok found '0.00000354121024', expected '0.00000354121024', error '0.00000000000000'
Test #62:
score: 0
Accepted
time: 0ms
memory: 3736kb
input:
8 8 .....O.. O....... ........ .......O ........ ...O.... ........ .OO..... ........ ...O.... ........ .O...... ........ ........ .O.O.... ....OO..
output:
0.00000002759564
result:
ok found '0.00000002759564', expected '0.00000002759564', error '0.00000000000000'
Test #63:
score: 0
Accepted
time: 2ms
memory: 3636kb
input:
8 8 .......O ........ ....O... ......O. ..O..... .....O.. .OO..... ....O... ........ O...O... ........ ......O. ..O...O. .O..O... ..O..... ........
output:
0.00000000052650
result:
ok found '0.00000000052650', expected '0.00000000052650', error '0.00000000000000'
Test #64:
score: 0
Accepted
time: 1ms
memory: 3632kb
input:
8 8 OOOOOOOO ........ ........ ........ ........ ........ ........ ........ ........ .O....O. ..O..... ...O.... ....O... .....O.. .O....O. ........
output:
0.00000000058096
result:
ok found '0.00000000058096', expected '0.00000000058096', error '0.00000000000000'
Extra Test:
score: 0
Extra Test Passed