QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#327607#4886. Best SunReliaukWA 181ms8080kbC++175.0kb2024-02-15 11:22:502024-02-15 11:22:51

詳細信息

Test #1:

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

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.3090169944
1.2368614277
0.2711375415
1.5631002095

result:

ok 4 numbers

Test #2:

score: 0
Accepted
time: 178ms
memory: 8024kb

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.0873983536
18268.5193616721
102489.9883902622
66685.7544280802
18674.6579374143
106468.9651319722
14427.0246510711
29966.2453025429
143547.7510835874
13097.1756881261
162410.1683169808
72070.9324178747
29369.9926278869
52867.2944311017
90314.3083467567
99775.9271965681
144449.7053083692
64406....

result:

ok 10000 numbers

Test #3:

score: 0
Accepted
time: 176ms
memory: 8052kb

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.6507007011
0.2268090703
0.4946825662
0.8255326313
0.2675324747
0.7379284564
0.1368529467
0.8277457956
1.3896281204
0.2484761664
1.0251262658
0.2252451216
0.7981688505
1.0521776338
0.2700907567
0.2210280036
0.6549291474
1.0657925459
0.1207361882
0.1727212125
0.4458825285
0.2484761664
0.1224985771
0...

result:

ok 10000 numbers

Test #4:

score: 0
Accepted
time: 181ms
memory: 8064kb

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:

232625.0042744304
268175.8269859640
159589.3236305173
60440.7530425985
133893.1234363519
63201.9907486268
167697.6634061348
129470.0132843163
126903.8540728102
106643.9712630971
131692.3112279047
100421.0550162125
148490.2748179024
68842.2423098231
241376.1911161293
303904.5464356644
77462.333614780...

result:

ok 5625 numbers

Test #5:

score: -100
Wrong Answer
time: 180ms
memory: 8048kb

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.4919682068
1.6080239363
0.6764635635
0.8146821265
1.5727954033
0.2020448017
0.4423673058
0.3055832124
1.5089069099
1.3227875238
0.5218559492
0.3982804503
1.2194946258
1.1774912553
1.3951026930
1.0737731260
0.7540897905
0.6075591084
1.4373192212
0.9671123464
0.9534878420
1.4836242816
1.2273730217
0...

result:

wrong answer 3055th numbers differ - expected: '0.7253194', found: '0.8486122', error = '0.1232928'