QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#113413#4886. Best SunLeafSeekTL 0ms3840kbC++143.0kb2023-06-17 15:41:182023-06-17 15:41:20

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 0ms
memory: 3840kb

input:

4
3
-1 -1
1 -1
0 1
4
0 0
10 0
0 10
8 1
5
2 0
-2 0
1 1
-1 1
0 3
8
4 4
-4 4
4 -4
-4 -4
5 6
-6 5
-5 -6
6 -5

output:

0.3090170
1.2368613
0.2711375
1.5631001

result:

ok 4 numbers

Test #2:

score: -100
Time Limit Exceeded

input:

10000
3
702262 828158
-350821 -420883
-466450 13507
3
28647 -193498
126436 -864937
-287798 738936
3
270358 -269567
745815 -485408
834083 677952
3
-2036 -403634
742978 -263774
975937 -609237
3
584248 -472620
482016 -356760
284902 903881
3
-292004 504925
-935756 373793
-781101 -434659
3
-858513 684433...

output:

85789.0872468
18268.5188808
102489.9848421
66685.7533943
18674.6567047
106468.9637285
14427.0240392
29966.2434573
143547.7500195
13097.1754722
162410.1571123
72070.9284306
29369.9904532
52867.2939875
90314.3053824
99775.9260353
144449.7040049
64406.8629437
157870.7147015
5236.4140276
16476.1690085
1...

result: