QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#505495#5887. Safety in Numbersxiaowuc121 ✓55ms3896kbC++171.9kb2024-08-05 05:45:192024-08-05 05:45:20

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 10
Accepted

Test #1:

score: 10
Accepted
time: 1ms
memory: 3896kb

input:

20
2 20 10
2 10 0
4 25 25 25 25
3 24 30 21
7 1 54 53 0 1 1 54
10 0 77 0 0 0 0 0 0 0 0
6 80 80 80 80 80 80
2 53 53
7 73 74 73 0 0 1 1
10 100 100 100 100 100 100 100 100 100 100
2 47 0
7 99 1 100 1 1 0 99
6 33 50 37 50 100 40
5 0 1 98 0 97
4 62 11 52 61
7 73 45 60 54 69 48 73
8 55 53 53 76 47 76 77 42...

output:

Case #1: 33.333333333333 66.666666666667
Case #2: 0.000000000000 100.000000000000
Case #3: 25.000000000000 25.000000000000 25.000000000000 25.000000000000
Case #4: 34.666666666667 26.666666666667 38.666666666667
Case #5: 24.847560975610 0.000000000000 0.000000000000 25.457317073171 24.847560975610 2...

result:

ok correct! (20 test cases)

Subtask #2:

score: 11
Accepted

Test #2:

score: 11
Accepted
time: 55ms
memory: 3828kb

input:

50
174 46 49 48 48 47 47 45 48 49 46 45 47 44 44 50 48 50 45 44 49 50 45 49 47 44 45 49 48 47 48 44 45 49 50 45 46 50 46 48 49 48 46 44 50 49 45 49 44 47 46 46 50 46 49 47 45 47 46 50 44 45 45 49 48 50 46 48 46 49 50 49 49 46 45 50 47 48 44 48 46 46 45 44 46 49 49 44 47 49 48 50 45 46 45 50 45 45 46...

output:

Case #1: 0.589633334950 0.553150299562 0.565311311358 0.565311311358 0.577472323154 0.577472323154 0.601794346746 0.565311311358 0.553150299562 0.589633334950 0.601794346746 0.577472323154 0.613955358542 0.613955358542 0.540989287765 0.565311311358 0.540989287765 0.601794346746 0.613955358542 0.5531...

result:

ok correct! (50 test cases)

Extra Test:

score: 0
Extra Test Passed