QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#638090#8785. Fake Coin and Lying Scalesucup-team1828WA 18ms19656kbC++14897b2024-10-13 14:53:342024-10-13 14:53:35

详细

Test #1:

score: 100
Accepted
time: 12ms
memory: 19652kb

input:

2
100 0
100 1

output:

114.861228867
110.949205861

result:

ok q=0 (2 test cases)

Test #2:

score: -100
Wrong Answer
time: 18ms
memory: 19656kb

input:

10000
32 6
45 98
67 57
35 70
29 3
22 81
59 12
48 16
63 69
99 36
60 36
32 47
73 91
81 30
7 7
71 57
38 60
35 19
92 40
3 17
21 71
54 62
95 67
60 50
10 20
19 80
64 73
10 21
70 97
84 3
26 22
38 47
37 38
31 91
11 37
73 17
75 98
8 74
73 60
87 10
94 48
35 73
18 14
88 25
61 54
39 59
100 90
70 98
73 21
92 11
...

output:

25.224142650
217.611256532
18.008455392
138.585853560
28.879322186
-nan
37.367385049
22.090751179
56.904188732
31.095471532
12.531037219
67.778265990
-nan
26.704294965
10.929298210
15.524923827
-nan
12.217645373
22.638422195
32.176892496
-nan
59.127116420
13.047192404
16.230664230
33.465257027
-nan
...

result:

wrong answer WA (test case 2)