QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#752869#5983. Pretty Good ProportionLinmobi0 548ms30012kbC++143.3kb2024-11-16 10:12:352024-11-16 10:12:35

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 0
Wrong Answer

Test #1:

score: 0
Wrong Answer
time: 3ms
memory: 8020kb

input:

100
10 0.827672
0010101011
4 0.932623
0100
1000 0.834002
011001110010111110000110101100010010100101101110110111100010101101111100110001011000110100010100011011000001100001010110111101111010110110000110011000111000011110101100100111111001111011011100111001011101010100111011100011110011100011110010001...

output:

2
1
10
1
1
1
1
4
1
1
1
4
5
564
1
1
1
1
1
1
1
7
4
844
2
1
1
155
2
2
1
1
1
1
393
1
173
1
2
2
130
3
1
840
1
5
2
1
74
1
1
4
1
1
1
1
1
1
1
1
1
1
1
2
1
838
1
2
1
1
1
612
1
5
1
1
2
1
1
1
2
1
320
1
1
6
79
1
1
1
1
5
1
1
1
3
1
1
1
1

result:

wrong answer 1st lines differ - expected: 'Case #1: 6', found: '2'

Subtask #2:

score: 0
Wrong Answer

Test #2:

score: 0
Wrong Answer
time: 548ms
memory: 30012kb

input:

100
15 0.333333
000000000011000
10 0.418754
0101100001
2 0.499999
01
3 0.977951
001
2 0.249999
01
10 0.670229
0111011001
1000 0.500001
001101111110110010110000010010110001110010001101110111010011000010100011011101010110011011011010111110011100011000001000101011100011010100101101111110100101011010111...

output:

6
1
2
1
1
2
4
1
1
1
2
2
1
1
1
4333
2
2
123
1
5
1
1
2
1
2
1
3
1
676
1
1
2
1
1
2
1
1
1
2
1
4
1
4
1
1
1
1
2
1
1
1
1
1
2
1
1
5
5
1
1
1
1
2
1
2
6
1
1
500
1
1
1
1
2
1
188
3
1
2
499838
1
1
5
1
1
1
499840
1
1
8
1
8
2
1
1
1
92
1
1

result:

wrong answer 1st lines differ - expected: 'Case #1: 6', found: '6'