QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#433465#8785. Fake Coin and Lying Scalesucup-team003#WA 481ms4192kbC++141.8kb2024-06-08 11:27:312024-06-08 11:27:34

详细

Test #1:

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

input:

2
100 0
100 1

output:

109.861
105.518

result:

ok q=0 (2 test cases)

Test #2:

score: 0
Accepted
time: 10ms
memory: 3996kb

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:

19.7479
5.68698
4.80597
5.35186
23.448
5.49717
31.8819
16.4688
5.33754
25.422
6.12105
4.95583
5.61313
21.0219
3.09104
4.81925
5.1985
6.15147
16.8296
3.95124
5.36598
5.23111
5.16688
4.68777
4.11087
5.4848
5.39363
4.15888
5.67675
80.6491
3.86501
4.95583
4.74493
5.61313
4.7185
34.4443
5.68698
5.40717
4...

result:

ok q=0 (10000 test cases)

Test #3:

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

input:

1
10000 0

output:

10986.1

result:

ok q=0 (1 test case)

Test #4:

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

input:

1
10000 10

output:

10905.3

result:

ok q=0 (1 test case)

Test #5:

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

input:

1
10000 100

output:

10365.4

result:

ok q=0 (1 test case)

Test #6:

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

input:

1
100000 0

output:

109861

result:

ok q=0 (1 test case)

Test #7:

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

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:

777.25
857.67
801.95
87.2393
525.374
840.554
643.771
704.347
507.605
127.156
261.628
725.762
125.942
531.687
5.65599
343.723
722.287
348.918
145.187
728.274
625.71
837.255
228.518
411.209
288.577
131.864
10.1544
757.162
678.769
419.994
673.689
327.92
666.279
119.494
772.729
820.72
727.703
203.416
32...

result:

ok q=0 (1000 test cases)

Test #8:

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

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:

7.74023
7.23921
6.36819
6.7901
7.32581
7.34923
6.56808
7.4553
7.62852
6.02102
7.59287
7.32975
7.86749
6.24804
5.64545
7.55119
7.68524
6.19441
13.4961
7.62852
7.28551
7.33563
5.78383
7.56528
5.64545
7.5353
6.74524
5.26269
5.90536
7.86288
7.78114
7.60489
7.23056
6.3315
7.09838
7.8755
6.35263
7.33759
5...

result:

ok q=0 (1000 test cases)

Test #9:

score: 0
Accepted
time: 378ms
memory: 4000kb

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:

242700
14.4349
14.2774
14.8882
14.1085
14.5265
353455
96659.1
14.7207
7085.01
14.637
60919.8
188056
3072.79
555163
14.5632
223401
19.7822
165839
160146
14.9017
14.3415
183511
84476.3
14.0168
289639
100233
14.4033
13.6667
198868
13.5248
14.3904
14.1555
72910
323933
31400.8
13.0861
13.3862
14.4837
13....

result:

ok q=0 (100000 test cases)

Test #10:

score: 0
Accepted
time: 212ms
memory: 4132kb

input:

100000
740599 913
947030 8115
575926 9039
721122 7094
794424 8453
157723 6263
973352 1890
462079 302
333631 3870
435636 4238
572643 7448
775859 6119
343386 2778
486927 1883
880553 7918
878758 5150
274829 778
759586 5734
461205 6806
744940 1346
378522 4830
214767 1511
367452 9987
288068 9685
761467 1...

output:

805982
988105
579950
747487
820109
142607
1.05435e+06
504930
342767
451821
584224
812415
359187
521312
916726
930256
296061
796800
466533
807633
386651
225916
350924
267399
834687
473793
859340
952286
616367
773990
259544
412243
143251
967449
1.00761e+06
543671
374923
559944
327359
1.02862e+06
11034...

result:

ok q=0 (100000 test cases)

Test #11:

score: 0
Accepted
time: 45ms
memory: 4120kb

input:

100000
3460 249080
4870 627106
7714 639325
6245 973410
5156 799724
2143 932101
3190 88015
5691 880401
4405 773261
157 516968
1022 535321
7679 193074
2293 754309
6302 607322
9422 65236
7327 352879
2188 417324
3181 532778
8804 165866
2433 321295
4829 557456
7228 613548
470 947610
2867 326654
1091 7711...

output:

13.5241
14.4475
14.4668
14.8872
14.6906
14.8438
12.4839
14.7867
14.657
14.2543
14.2892
13.2694
14.6322
14.4154
12.1844
13.8725
14.0402
14.2845
13.1175
13.7787
14.3298
14.4256
14.8603
13.7953
14.6542
13.3123
14.1752
14.1471
14.8307
14.7037
11.7318
12.9644
14.8182
13.6203
13.2584
14.4357
14.4053
12.32...

result:

ok q=0 (100000 test cases)

Test #12:

score: -100
Wrong Answer
time: 481ms
memory: 4092kb

input:

100000
485911443 648621499
967545108 273118575
544774196 541753568
572826636 56596285
997351031 75012282
841305005 238445153
871651103 680174033
831928615 349267999
895576242 735170120
38669405 423897783
879163052 156607422
474161410 146955978
703868457 884260985
882781563 482183053
774752914 414027...

output:

21.389
2.97866e+08
20.8979
4.05381e+08
7.77499e+08
2.5744e+08
21.1332
1.05964e+08
21.2246
20.9636
4.45376e+08
1.25531e+08
21.6989
2.74886e+07
2.89886e+07
20.8141
20.9328
20.8857
1.73335e+06
21.8164
380874
3.0276e+07
21.3791
21.0937
2.32972e+08
8.74279e+06
21.2226
21.7239
21.6322
21.4292
19.4696
21.1...

result:

wrong answer WA (test case 2)