QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#605951#6725. Pick UptrjWA 94ms27372kbC++204.0kb2024-10-02 20:53:342024-10-02 20:53:34

详细

Test #1:

score: 100
Accepted
time: 3ms
memory: 27372kb

input:

3
1 2
0 2 1 0 2 2
1 3
1 1 0 1 3 1
1 2
0 0 100 100 1 1

output:

1.500000000000000
1.000000000000000
2.000000000000000

result:

ok 3 numbers

Test #2:

score: -100
Wrong Answer
time: 94ms
memory: 27296kb

input:

100000
158260522 877914575
602436426 24979445 861648772 623690081 433933447 476190629
731963982 822804784
450968417 430302156 982631932 161735902 880895728 923078537
317063340 492686568
773361868 125660016 650287940 839296263 462224593 492601449
576823355 782177068
404011431 818008580 954291757 1604...

output:

-0.271334849407187
0.148849308343351
1.678027619782807
0.470199832668010
0.834495663549507
0.894560538809385
0.402998816596881
1.061636780305122
0.968295949612417
1.367352953081825
0.643736833639673
-0.735356357943296
0.624150449525770
-0.023461113984203
0.140506254667366
-0.134966746881422
1.226313...

result:

wrong answer 1st numbers differ - expected: '1.3846072', found: '-0.2713348', error = '1.1959652'