QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#505466#5871. Irregular Cakesxiaowuc114 ✓237ms4044kbC++172.9kb2024-08-05 05:35:562024-08-05 05:35:57

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 7
Accepted

Test #1:

score: 7
Accepted
time: 7ms
memory: 4044kb

input:

100
15 3 3 3
0 6
10 8
15 9
0 10
5 11
15 13
8 3 4 2
0 2
5 4
8 3
0 5
3 4
4 7
8 5
91 17 22 2
0 1
5 -46
6 -46
12 -89
29 -10
33 -7
38 -22
41 -73
42 -68
46 -31
47 -62
56 -71
74 12
80 -6
83 -97
88 53
91 -91
0 47
11 -78
19 13
23 8
32 89
40 -40
42 -44
49 9
53 -57
55 0
56 15
58 86
63 8
67 52
68 9
71 59
72 72
...

output:

Case #1:
5.00000000000000089
10.00000000000000000
Case #2:
4.29058781633884045
Case #3:
57.06619854339027142
Case #4:
32.91599711431010178
51.13862155504892115
Case #5:
278.44096466560040426
641.46589174966936753
Case #6:
18.21684902536513562
33.72948352525484239
Case #7:
30.38152468831653508
48.427...

result:

ok correct! (100 test cases)

Subtask #2:

score: 7
Accepted

Test #2:

score: 7
Accepted
time: 237ms
memory: 3892kb

input:

100
15 3 3 3
0 6
10 8
15 9
0 10
5 11
15 13
8 3 4 2
0 2
5 4
8 3
0 5
3 4
4 7
8 5
91 17 22 58
0 1
5 -46
6 -46
12 -89
29 -10
33 -7
38 -22
41 -73
42 -68
46 -31
47 -62
56 -71
74 12
80 -6
83 -97
88 53
91 -91
0 47
11 -78
19 13
23 8
32 89
40 -40
42 -44
49 9
53 -57
55 0
56 15
58 86
63 8
67 52
68 9
71 59
72 72...

output:

Case #1:
5.00000000000000089
10.00000000000000000
Case #2:
4.29058781633884045
Case #3:
2.01200303427494731
4.23378738609198724
7.35512793079102334
13.26290665442430594
15.55809614665875529
17.26021682090147635
18.67676350890317849
19.99923826344907596
21.49640208359362248
23.27798769275819168
25.01...

result:

ok correct! (100 test cases)

Extra Test:

score: 0
Extra Test Passed