QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#435652#8785. Fake Coin and Lying Scalesucup-team130#WA 25ms4228kbC++172.4kb2024-06-08 20:58:462024-06-08 20:58:46

详细

Test #1:

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

input:

2
100 0
100 1

output:

119.76
114.46

result:

ok q=0 (2 test cases)

Test #2:

score: 0
Accepted
time: 0ms
memory: 4204kb

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:

26.68
9
9.90
9
31.37
9
36.53
19.35
9
23.08
9.90
9
9
20.00
9
9.90
9
9.90
11.77
9
9
9
9.90
9.90
9
9
9
9
9
88.60
9.90
9
9
9
9
37.96
9
9
9.90
68.07
9.90
9
9.90
34.40
9.90
9
9.90
9
29.90
70.18
9
9
36.74
9.90
16.64
9
18.02
9.90
24.19
9
9
28.50
9
9.90
46.33
9
31.34
9
18.28
9.90
9.90
87.60
9
9.90
9.90
9.90
...

result:

ok q=0 (10000 test cases)

Test #3:

score: 0
Accepted
time: 0ms
memory: 4016kb

input:

1
10000 0

output:

10996.02

result:

ok q=0 (1 test case)

Test #4:

score: 0
Accepted
time: 0ms
memory: 4228kb

input:

1
10000 10

output:

10911.17

result:

ok q=0 (1 test case)

Test #5:

score: 0
Accepted
time: 0ms
memory: 4168kb

input:

1
10000 100

output:

10368.49

result:

ok q=0 (1 test case)

Test #6:

score: 0
Accepted
time: 0ms
memory: 4208kb

input:

1
100000 0

output:

109871.13

result:

ok q=0 (1 test case)

Test #7:

score: 0
Accepted
time: 1ms
memory: 4144kb

input:

1000
867 38
906 28
876 34
182 38
692 59
986 55
675 20
699 12
741 82
154 11
264 6
682 4
176 19
728 69
37 95
501 56
998 96
495 52
359 86
750 19
726 39
794 6
268 16
609 70
414 45
182 19
123 68
909 56
880 71
419 8
679 14
363 16
751 35
299 73
852 35
901 36
903 63
425 85
416 33
80 89
863 91
491 32
603 84
...

output:

781.03
862.15
806.01
87.80
527.02
843.26
648.72
709.98
506.83
132.63
268.90
733.46
130.26
532.40
9
344.79
721.28
350.47
138.03
733.32
629.26
844.56
233.53
411.13
290.57
136.22
9.90
759.66
679.87
426.98
679.13
333.04
670.16
114.00
776.71
824.67
729.61
198.31
329.17
9
601.47
409.49
366.78
703.29
113.9...

result:

ok q=0 (1000 test cases)

Test #8:

score: 0
Accepted
time: 0ms
memory: 4144kb

input:

1000
71 766
31 464
8 194
12 296
69 506
55 518
31 237
73 576
50 685
1 137
29 661
58 508
46 870
33 172
66 94
41 634
38 725
94 163
94 45
34 685
71 486
95 511
37 108
54 643
64 94
1 624
48 283
1 64
23 122
3 866
52 798
68 669
43 460
68 187
50 403
31 877
100 191
44 512
33 50
91 732
37 584
22 501
46 93
81 7...

output:

9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9.90
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
40.14
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9.90
9
9
9
9
9
9
9
9.90
9
9.90
9
38.06
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9
9.90
9
9
9
9
9
9
9
9
9
9
9
9...

result:

ok q=0 (1000 test cases)

Test #9:

score: -100
Wrong Answer
time: 25ms
memory: 4176kb

input:

100000
448906 73251
858780 829062
380117 529011
219451 974416
390411 446812
457769 678634
440286 29979
663948 267273
623318 824172
557346 329036
2366 757990
279231 95725
394222 75586
671713 417299
997686 156089
462641 704003
267172 15563
115033 76151
271539 36507
909436 341831
97232 987703
780566 75...

output:

236366.10
9.90
9
9
9
9
352408.41
33704.47
9
9.90
9
42226.38
180293.33
9.90
542257.32
9
222937.17
9.90
163264.50
85879.22
9
9.90
124383.50
9.90
9
252905.82
40581.39
9
9
184745.82
9.90
9
9
9.90
315539.95
18397.59
9
9
9.90
9
9
9
211384.79
9
9.90
9
9.90
9
9
388449.22
23556.56
9
9
9
9.90
9.90
198256.70
9...

result:

wrong answer WA (test case 1)