QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#505434#5793. Collecting Cardsxiaowuc140 ✓2ms3896kbC++171.5kb2024-08-05 05:20:032024-08-05 05:20:04

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:

100
10 2
10 9
10 9
5 4
9 8
10 8
8 5
8 3
2 1
5 3
3 1
10 9
8 8
10 5
10 8
5 5
10 6
9 3
6 5
10 1
7 2
10 10
7 6
7 6
9 7
7 7
7 4
10 10
6 5
10 8
7 4
7 7
6 1
7 5
8 4
10 9
8 7
9 4
7 3
1 1
8 1
5 1
7 7
8 3
9 6
5 4
6 2
10 8
10 2
10 9
6 6
10 8
7 7
6 4
6 6
10 4
2 2
10 1
7 7
7 5
8 1
9 9
10 9
7 6
6 6
4 1
6 2
5 3
10...

output:

Case #1: 14.123361932
Case #2: 2.111111111
Case #3: 2.111111111
Case #4: 2.250000000
Case #5: 2.125000000
Case #6: 2.477272727
Case #7: 3.458181818
Case #8: 6.585257255
Case #9: 3.000000000
Case #10: 3.222222222
Case #11: 5.500000000
Case #12: 2.111111111
Case #13: 1.000000000
Case #14: 4.933980896
...

result:

ok correct! (100 test cases)

Subtask #2:

score: 30
Accepted

Test #2:

score: 30
Accepted
time: 2ms
memory: 3868kb

input:

100
40 2
36 29
34 9
37 14
39 38
30 18
38 35
39 3
2 1
35 33
3 1
36 19
38 38
40 20
35 18
30 5
40 36
37 23
39 15
40 1
40 12
31 30
34 6
36 26
39 17
35 17
37 4
34 20
33 15
39 28
40 34
32 27
32 31
39 25
33 14
34 9
38 37
40 24
32 23
1 1
37 21
34 1
32 27
35 3
40 16
35 34
32 22
39 18
31 12
40 39
39 26
34 8
3...

output:

Case #1: 84.737645268
Case #2: 3.118267288
Case #3: 14.069121840
Case #4: 9.454932416
Case #5: 2.026315789
Case #6: 4.949695437
Case #7: 2.244404268
Case #8: 54.186587896
Case #9: 3.000000000
Case #10: 2.119528620
Case #11: 5.500000000
Case #12: 6.152116142
Case #13: 1.000000000
Case #14: 6.75853428...

result:

ok correct! (100 test cases)

Extra Test:

score: 0
Extra Test Passed