Skip to content

Failed to parse Topcoder SRM 478 Div 1 Hard #52

Open
@kmyk

Description

@kmyk

Summary

oj d fails on https://community.topcoder.com/stat?c=problem_statement&pm=11026

To reproduce

$ oj d https://community.topcoder.com/stat?c=problem_statement&pm=11026

Expected behavior

The output of the example 2) should be:

4 0.19685958571981937 0.24397246802233483 0.31496640865458775 0.24420153760325805

Actual behavior

I got:

{0.19685958571981937, 0.24397246802233483, 0.31496640865458775, 0.24420153760325805 }

Error log

$ oj d -n 'https://community.topcoder.com/stat?c=problem_statement&pm=11026'

[*] sample 0
[x] input: example-0
1 00
1 00
1 58

[x] output: example-0
2 0.38461538461538464 0.6153846153846154


[*] sample 1
[x] input: example-1
2 00 00
2 00 00
2 21 11

[x] output: example-1
2 0.5888888888888889 0.4111111111111111


[*] sample 2
[x] input: example-2
3 0000 0000 0000
3 2284 0966 9334
3 1090 3942 4336

[x] output: example-2

{0.19685958571981937, 0.24397246802233483, 0.31496640865458775, 0.24420153760325805 }


[*] sample 3
[x] input: example-3
5 01010110 00011000 00001000 10001010 10111110
5 22218214 32244284 68402430 18140323 29043145
5 87688689 36101317 69474068 29337374 87255881

[x] output: example-3

{0.11930766223754977, 0.14033271060661345, 0.0652282589028571, 0.14448118133046356, 0.1981894622733832, 0.10743462836879789, 0.16411823601857622, 0.06090786026175882 }


[*] sample 4
[x] input: example-4
1 10
1 00
1 00

[x] output: example-4
2 1.0 0.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions