QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#532177#8785. Fake Coin and Lying Scalesucup-team3897#WA 3419ms4184kbC++205.3kb2024-08-25 01:03:152024-08-25 01:03:17

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

2
100 0
100 1

output:

109.861229
105.944218

result:

ok q=0 (2 test cases)

Test #2:

score: 0
Accepted
time: 30ms
memory: 4184kb

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.109252
6.545647
6.062133
5.978373
23.823345
5.591907
33.145409
17.734342
6.250890
26.687537
7.386566
5.459806
6.527905
22.287397
3.091042
6.066034
5.924460
7.416968
18.095099
3.951244
5.429731
6.136921
6.426096
5.932360
4.110874
5.484797
6.307241
4.158883
6.591279
81.023614
4.458027
5.681790
5.44...

result:

ok q=0 (10000 test cases)

Test #3:

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

input:

1
10000 0

output:

10986.122887

result:

ok q=0 (1 test case)

Test #4:

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

input:

1
10000 10

output:

10906.540276

result:

ok q=0 (1 test case)

Test #5:

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

input:

1
10000 100

output:

10366.630310

result:

ok q=0 (1 test case)

Test #6:

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

input:

1
100000 0

output:

109861.228867

result:

ok q=0 (1 test case)

Test #7:

score: 0
Accepted
time: 5ms
memory: 4096kb

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.515300
858.935323
803.215327
88.504801
526.639292
841.819068
645.036236
705.612724
508.870872
128.419973
261.988346
726.129742
127.207348
532.952624
6.351754
344.988044
723.552212
350.183407
146.452849
729.539748
626.975037
837.615592
229.783918
412.474613
289.842816
133.129989
11.419896
758.427...

result:

ok q=0 (1000 test cases)

Test #8:

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

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:

8.654847
7.698959
6.368187
6.790097
8.240230
8.256734
7.027822
8.370075
8.522652
6.021023
7.962374
8.240617
8.736032
6.794887
6.559462
8.349783
8.411206
7.110174
14.761597
8.216348
8.200124
8.251437
6.479588
8.471087
6.559061
7.535297
7.628950
5.262690
6.032591
7.862882
8.682293
8.519200
8.063783
7....

result:

ok q=0 (1000 test cases)

Test #9:

score: -100
Wrong Answer
time: 3419ms
memory: 4156kb

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.872063
15.645601
15.196315
15.807144
15.027444
15.445388
353360.339493
96660.337355
15.639686
7086.273172
15.555860
60920.945297
188056.790720
3074.107284
555163.851148
15.482089
223350.007039
21.094333
165748.033113
160146.985449
15.820689
15.557535
183511.908061
84477.513607
14.935775
28964...

result:

wrong answer WA (test case 7)