QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#505304#8785. Fake Coin and Lying Scalesucup-team4461TL 328ms4008kbC++202.1kb2024-08-05 01:30:442024-08-05 01:30:44

詳細信息

Test #1:

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

input:

2
100 0
100 1

output:

109.861228866811
105.868135977164

result:

ok q=0 (2 test cases)

Test #2:

score: 0
Accepted
time: 11ms
memory: 4008kb

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:

20.657605500258
5.686975356340
8.427442718764
5.351858133476
24.125965811368
5.497168225293
32.981308264183
17.777822707900
5.337538079701
26.988555519151
8.422519052712
4.955827057601
5.613128106388
22.551211470650
3.091042453358
8.463355550449
5.198497031266
7.946542789115
18.557862017501
3.951243...

result:

ok q=0 (10000 test cases)

Test #3:

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

input:

1
10000 0

output:

10986.122886681097

result:

ok q=0 (1 test case)

Test #4:

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

input:

1
10000 10

output:

10906.198228060445

result:

ok q=0 (1 test case)

Test #5:

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

input:

1
10000 100

output:

10366.867726346147

result:

ok q=0 (1 test case)

Test #6:

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

input:

1
100000 0

output:

109861.228866810969

result:

ok q=0 (1 test case)

Test #7:

score: 0
Accepted
time: 2ms
memory: 3884kb

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:

778.528902092546
858.865483515350
803.198339779485
88.634979424500
526.787342625258
841.931896062319
644.881582587912
705.323771553250
509.117689025458
128.141269351322
262.434029974719
726.458471644792
127.086306975361
533.145853393430
5.655991810820
345.140193219714
723.828945462370
350.3125416575...

result:

ok q=0 (1000 test cases)

Test #8:

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

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.740229524763
7.239214973780
6.368187186350
6.790097235514
7.325807502596
7.349230824613
6.568077911412
7.455298485683
7.628517626575
6.021023349350
7.592870287845
7.329749689042
7.867488568699
6.248042874508
5.645446897643
7.551186867296
7.685243607976
6.194405391105
15.368082167498
7.628517626575...

result:

ok q=0 (1000 test cases)

Test #9:

score: 0
Accepted
time: 256ms
memory: 3804kb

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:

242703.072545288884
25.132209329027
14.277377423350
14.888206226917
14.108506238165
14.526450013081
353457.996493627002
96663.002287502499
14.720747218087
7089.809704335038
14.637038200353
60923.270041185977
188058.988993017181
3078.140679113081
555166.245038472650
14.563150658646
223403.66649382483...

result:

ok q=0 (100000 test cases)

Test #10:

score: 0
Accepted
time: 328ms
memory: 3952kb

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:

805984.117516227798
988107.251781466145
579952.382416526057
747489.503680863447
820111.974213371710
142609.997688431696
1054351.996375730961
504931.862203167185
342769.895263150214
451823.366565656620
584226.760576922397
812417.630624374427
359189.703874830197
521314.115289575514
916728.480683656796...

result:

ok q=0 (100000 test cases)

Test #11:

score: 0
Accepted
time: 61ms
memory: 3880kb

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.524143035912
14.447483684548
14.466781021313
14.887173280705
14.690634652602
14.843809103178
12.483878609374
14.786745431765
14.656984635860
14.254349189477
14.289234757297
13.269442829210
14.632170107936
14.415427244673
12.184384141085
13.872493734229
14.040231264914
14.284473020384
13.117549810...

result:

ok q=0 (100000 test cases)

Test #12:

score: -100
Time Limit Exceeded

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:


result: