QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#437794#8785. Fake Coin and Lying Scalesucup-team130WA 35ms4220kbC++172.5kb2024-06-09 17:43:012024-06-09 17:43:01

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 1ms
memory: 4092kb

input:

2
100 0
100 1

output:

119.76
115.85

result:

ok q=0 (2 test cases)

Test #2:

score: 0
Accepted
time: 4ms
memory: 4160kb

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:

29.63
15.59
9.90
15.25
33.67
15.40
40.14
23.24
15.24
27.77
9.90
14.86
15.51
24.51
12.99
9.90
15.10
10.11
16.57
13.85
15.27
15.13
9.90
9.90
14.01
15.38
15.29
14.06
15.58
90.91
9.90
14.86
14.64
15.51
14.62
41.91
15.59
15.31
9.90
71.50
9.90
15.29
9.90
38.73
9.90
15.08
9.90
15.59
34.06
73.71
14.67
15.32...

result:

ok q=0 (10000 test cases)

Test #3:

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

input:

1
10000 0

output:

10996.02

result:

ok q=0 (1 test case)

Test #4:

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

input:

1
10000 10

output:

10914.60

result:

ok q=0 (1 test case)

Test #5:

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

input:

1
10000 100

output:

10374.20

result:

ok q=0 (1 test case)

Test #6:

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

input:

1
100000 0

output:

109871.13

result:

ok q=0 (1 test case)

Test #7:

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

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:

785.78
866.59
810.65
92.55
532.20
848.38
652.83
713.59
512.34
136.16
271.84
736.02
134.32
537.74
15.56
349.92
726.95
355.53
143.58
737.39
634.03
847.50
237.42
416.48
295.49
140.28
9.90
764.79
685.24
430.19
682.89
336.93
674.83
119.40
781.37
829.36
734.85
203.86
333.77
15.49
607.09
414.06
372.32
707....

result:

ok q=0 (1000 test cases)

Test #8:

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

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:

17.64
17.14
16.27
16.69
17.23
17.25
16.47
17.36
17.53
15.92
17.49
17.23
17.77
16.15
15.55
17.45
17.59
16.09
10.65
17.53
17.19
17.24
15.68
17.47
15.55
17.44
16.65
15.16
15.81
17.76
17.68
17.50
17.13
16.23
17.00
17.78
16.25
17.24
14.92
17.59
17.37
17.22
15.53
17.56
16.24
17.59
17.72
16.82
17.47
17.13
...

result:

ok q=0 (1000 test cases)

Test #9:

score: -100
Wrong Answer
time: 35ms
memory: 4184kb

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:

236378.40
9.90
24.18
24.79
24.01
24.43
352419.82
33718.07
24.62
9.90
24.54
42238.95
180305.66
9.90
542270.38
24.46
222947.92
9.90
163276.10
85893.06
24.80
9.90
124397.21
9.90
23.92
252919.32
40594.96
24.30
23.57
184758.56
9.90
24.29
24.06
9.90
315552.54
18409.72
22.99
23.29
9.90
23.72
24.33
24.81
21...

result:

wrong answer WA (test case 1)