QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#113414#4886. Best SunLeafSeekWA 34ms4008kbC++143.0kb2023-06-17 15:49:482023-06-17 15:49:51

详细

Test #1:

score: 100
Accepted
time: 1ms
memory: 4008kb

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.2368614
0.2711375
1.5631002

result:

ok 4 numbers

Test #2:

score: 0
Accepted
time: 17ms
memory: 3796kb

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:

ok 10000 numbers

Test #3:

score: 0
Accepted
time: 17ms
memory: 3924kb

input:

10000
3
2 2
2 -2
-5 -5
3
-3 5
5 -4
2 -2
3
-4 1
2 -2
-4 4
3
1 -4
2 1
-4 1
3
2 1
-1 1
-3 3
3
4 5
3 -1
-3 -3
3
1 5
5 0
5 -1
3
2 -3
-5 -3
5 3
3
-4 4
0 -5
5 4
3
2 -3
5 0
2 -5
3
-2 -3
5 -3
5 4
3
-1 4
4 4
4 3
3
5 3
-1 4
2 -1
3
2 -3
4 3
-4 3
3
0 4
-2 -2
-1 -3
3
-2 0
-4 -2
4 2
3
-3 -1
3 1
1 -3
3
2 -5
2 3
-4 ...

output:

0.6507007
0.2268091
0.4946825
0.8255326
0.2675324
0.7379284
0.1368529
0.8277458
1.3896281
0.2484761
1.0251262
0.2252451
0.7981688
1.0521776
0.2700907
0.2210280
0.6549291
1.0657925
0.1207362
0.1727211
0.4458825
0.2484761
0.1224986
0.5422087
0.7668743
1.0401600
0.2828707
0.6924599
0.6717781
0.9524355
...

result:

ok 10000 numbers

Test #4:

score: 0
Accepted
time: 34ms
memory: 3904kb

input:

5625
4
-405394 -381883
602267 -335687
-620806 984110
271283 531233
4
196903 -993060
290851 358123
-890076 -717709
-681138 209884
4
-849589 607722
-21517 -586295
208561 -220953
924518 622983
4
-832186 456270
289934 43656
636006 339718
188963 113907
4
-305762 -872205
-520125 368722
-774548 984204
4245...

output:

232624.9931455
268175.8109533
159589.3154251
60440.7512878
133893.1195229
63201.9883788
167697.6548691
129470.0065488
126903.8525434
106643.9711784
131692.3043548
100421.0519458
148490.2723481
68842.2421433
241376.1875650
303904.5295459
77462.3305124
106577.7380361
137546.8366476
208569.4507251
1750...

result:

ok 5625 numbers

Test #5:

score: -100
Wrong Answer
time: 26ms
memory: 3904kb

input:

5625
4
-2 -1
4 -5
-2 -4
-4 -4
4
-1 -5
4 4
2 -5
-5 1
4
-3 -4
-3 -1
-5 -1
4 -2
4
-2 4
-4 1
-1 -1
5 -4
4
-3 -5
-1 4
5 -1
3 5
4
-4 -2
1 4
-1 1
3 4
4
-5 3
-3 3
5 -4
-1 4
4
1 2
2 -5
1 0
0 -3
4
-5 -4
2 -3
5 3
-3 2
4
2 -2
-4 3
1 -4
-5 -5
4
-3 5
-2 4
1 3
1 -4
4
0 -5
5 -5
0 -2
-3 2
4
0 5
-1 -4
-2 0
4 -1
4
4 -...

output:

0.4434837
1.6080239
0.6764636
0.8146821
1.5727953
0.2020448
0.4423673
0.3055832
1.5089068
1.3227875
0.5218559
0.3982804
1.2194946
1.1774912
1.3951026
1.0737731
0.7540897
0.6075591
1.4373191
0.9671123
0.9534878
1.4836242
1.2273730
0.4010029
0.5494799
0.7791141
0.9465370
0.3042701
1.3897187
0.9349265
...

result:

wrong answer 1st numbers differ - expected: '0.4919682', found: '0.4434837', error = '0.0484845'