QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#451208#8785. Fake Coin and Lying Scalesucup-team3407WA 67ms4252kbC++14610b2024-06-22 22:46:402024-06-22 22:46:40

詳細信息

Test #1:

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

input:

2
100 0
100 1

output:

109.861228867
105.772853103

result:

ok q=0 (2 test cases)

Test #2:

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

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.2085831031
8.27015459011
7.33570453857
7.829737737
23.8820861661
7.99774518135
32.5607881747
17.5633926765
7.68777363907
26.8911603981
7.57417465524
6.99758923346
7.81144302671
22.44330101
4.09195674297
6.78579767111
7.21436054239
7.20859045476
18.3078764464
6.33004483319
7.87021538728
7.08385833...

result:

ok q=0 (10000 test cases)

Test #3:

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

input:

1
10000 0

output:

10986.1228867

result:

ok q=0 (1 test case)

Test #4:

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

input:

1
10000 10

output:

10905.9064041

result:

ok q=0 (1 test case)

Test #5:

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

input:

1
10000 100

output:

10367.7981775

result:

ok q=0 (1 test case)

Test #6:

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

input:

1
100000 0

output:

109861.228867

result:

ok q=0 (1 test case)

Test #7:

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

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.798289669
858.66232733
803.14379361
88.7441654095
526.992684351
843.247885197
644.453814091
705.067660449
509.439007849
127.893459704
262.173420626
726.161181487
126.936331103
532.758668686
8.15772244226
345.417854511
723.434079385
350.338603145
146.832422813
730.42528411
627.487510959
837.86961...

result:

ok q=0 (1000 test cases)

Test #8:

score: -100
Wrong Answer
time: 6ms
memory: 4096kb

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:

11.8182881741
11.5741386421
11.0002579965
10.7601351752
11.208500994
11.3843254179
10.7147369198
10.8108055989
11.9689281386
10.7798308259
12.3139214173
11.2093348978
13.0498281087
9.11759407253
8.06076726139
11.88158734
12.8078718441
8.79808919417
15.1948857813
12.3072238864
11.1535399788
11.097693...

result:

wrong answer WA (test case 26)