QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#515320#4880. Network TransferHuangHanShengWA 270ms16596kbC++201.2kb2024-08-11 17:08:352024-08-11 17:08:39

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

2 10
0 100 2
4 200 1

output:

13.00000000
30.00000000

result:

ok 2 numbers

Test #2:

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

input:

2 10
30 200 1
10 100 2

output:

50.00000000
20.00000000

result:

ok 2 numbers

Test #3:

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

input:

1 10000000
0 1 42

output:

0.00000000

result:

ok found '0.0000000', expected '0.0000001', error '0.0000001'

Test #4:

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

input:

1 10000000
42 1 42

output:

42.00000000

result:

ok found '42.0000000', expected '42.0000001', error '0.0000000'

Test #5:

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

input:

1 10000000
42 10000000 42

output:

43.00000000

result:

ok found '43.0000000', expected '43.0000000', error '0.0000000'

Test #6:

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

input:

1 10000000
10000000 1 1

output:

10000000.00000000

result:

ok found '10000000.0000000', expected '10000000.0000001', error '0.0000000'

Test #7:

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

input:

1 10000000
1 1 100

output:

1.00000000

result:

ok found '1.0000000', expected '1.0000001', error '0.0000001'

Test #8:

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

input:

1 1
10000000 10000000 100

output:

20000000.00000000

result:

ok found '20000000.0000000', expected '20000000.0000000', error '0.0000000'

Test #9:

score: 0
Accepted
time: 228ms
memory: 14940kb

input:

200000 1
10000000 10000000 1
10000000 10000000 1
10000000 10000000 1
10000000 10000000 1
10000000 10000000 1
10000000 10000000 1
10000000 10000000 1
10000000 10000000 1
10000000 10000000 1
10000000 10000000 1
10000000 10000000 1
10000000 10000000 1
10000000 10000000 1
10000000 10000000 1
10000000 10...

output:

2000010000000.00000000
2000010000000.00000000
2000010000000.00000000
2000010000000.00000000
2000010000000.00000000
2000010000000.00000000
2000010000000.00000000
2000010000000.00000000
2000010000000.00000000
2000010000000.00000000
2000010000000.00000000
2000010000000.00000000
2000010000000.00000000
2...

result:

ok 200000 numbers

Test #10:

score: 0
Accepted
time: 258ms
memory: 14244kb

input:

200000 1
10000000 10000000 22
10000000 10000000 62
10000000 10000000 71
10000000 10000000 73
10000000 10000000 82
10000000 10000000 15
10000000 10000000 60
10000000 10000000 26
10000000 10000000 35
10000000 10000000 83
10000000 10000000 58
10000000 10000000 84
10000000 10000000 23
10000000 10000000 ...

output:

1790041363634.00000000
1390577580644.00000000
1300784647886.00000000
1280812465753.00000000
1190840487804.00000000
1859583333331.00000000
1410498166666.00000000
1750241923075.00000000
1660420857141.00000000
1180833975903.00000000
1430416379309.00000000
1170834642856.00000000
1780072608694.00000000
1...

result:

ok 200000 numbers

Test #11:

score: 0
Accepted
time: 270ms
memory: 15292kb

input:

199293 5
9504657 9159218 4
9229606 9939393 93
9949326 9400061 74
9049202 9678955 63
9856746 9805686 100
9900514 9492706 58
9077984 9828311 42
9082259 9783365 78
9815702 9654015 95
9655893 9753916 11
9027905 9930425 9
9210664 9496857 85
9488366 9132506 56
9416678 9238290 2
9475297 9343399 28
9442121 ...

output:

372606864551.00000000
212211534775.00000000
238948149662.00000000
263425611184.00000000
197063144013.00000000
270580494645.00000000
303467045797.00000000
237141228118.00000000
203504180186.00000000
360171498660.00000000
364170179093.00000000
219530866865.00000000
270186214835.00000000
376567304895.0...

result:

ok 199293 numbers

Test #12:

score: 0
Accepted
time: 263ms
memory: 15028kb

input:

199775 5
9573917 9665464 57
9498813 9469832 81
9885957 9606395 14
9397765 9003071 9
9246019 9070405 26
9740136 9081183 11
9893308 9667485 60
9912483 9414387 94
9934996 9683245 7
9359993 9793294 90
9852046 9209808 22
9704268 9048813 52
9066664 9842295 49
9894656 9914370 56
9520915 9685732 36
9507809 ...

output:

275136188681.00000000
227063705576.00000000
355194309825.00000000
363385338616.00000000
329856159625.00000000
359600267864.00000000
269538859112.00000000
201263971424.00000000
368365549268.00000000
215596647879.00000000
338462086634.00000000
277864582191.00000000
291752383804.00000000
279643237080.0...

result:

ok 199775 numbers

Test #13:

score: 0
Accepted
time: 265ms
memory: 16596kb

input:

199876 10
9569180 9097026 11
9805018 9888590 69
9859588 9812730 54
9708644 9290190 38
9672977 9335125 45
9617443 9706660 56
9670948 9431976 69
9705708 9008410 2
9091288 9600793 23
9064094 9794988 56
9750869 9563190 30
9234184 9600771 22
9681961 9478086 50
9410316 9590449 15
9604218 9991066 51
957349...

output:

179887507877.00000000
127724903098.00000000
141024141835.00000000
153787858997.00000000
147195733047.00000000
138618997278.00000000
124676275641.00000000
188810825746.00000000
169163511120.00000000
139088289035.00000000
162417585445.00000000
170108072540.00000000
143081618014.00000000
176681729510.0...

result:

ok 199876 numbers

Test #14:

score: 0
Accepted
time: 262ms
memory: 15128kb

input:

199977 4
9602127 9565587 73
9111223 9419029 57
9833218 9019063 97
9020206 9577308 79
9062250 9637529 67
9457065 9295138 1
9448587 9234150 78
9535931 9639433 15
9247581 9592339 40
9768195 9797367 34
9649692 9879574 35
9727787 9190412 97
9260259 9150191 43
9851295 9229529 69
9724520 9333397 67
9676184...

output:

304491753262.00000000
340031067720.00000000
234313922207.00000000
290561445183.00000000
319806025765.00000000
474840344777.00000000
286089986044.00000000
441518236519.00000000
382411279201.00000000
398221219098.00000000
396587568672.00000000
238678764660.00000000
370475863737.00000000
307996730448.0...

result:

ok 199977 numbers

Test #15:

score: 0
Accepted
time: 260ms
memory: 14220kb

input:

199077 6
9634388 9960151 22
9418114 9874787 41
9769850 9225397 37
9368769 9901425 8
9489208 9902249 82
9371370 9920615 49
9263226 9036325 88
9329155 9233456 23
9366876 9584570 56
9434611 9799061 9
9473832 9195956 44
9220704 9779369 72
9801558 9822981 43
9366955 9830926 27
9770139 9638731 78
9741872 ...

output:

283688147385.00000000
254552170731.00000000
256675980122.00000000
304680729440.00000000
192633843521.00000000
242706661004.00000000
170818527368.00000000
279445737168.00000000
229155389462.00000000
303032608928.00000000
245028698315.00000000
206387719766.00000000
251159922564.00000000
275605305982.0...

result:

ok 199077 numbers

Test #16:

score: -100
Wrong Answer
time: 218ms
memory: 11616kb

input:

199174 94
4939842 606 76
1166421 867 100
9051103 784 55
8172658 675 51
3743680 551 61
2613139 796 25
6619357 995 81
4244151 919 13
1565998 618 89
8971567 956 48
4453079 696 6
6507538 985 84
821657 762 98
5429287 786 27
6562208 661 86
286640 615 36
6512669 689 74
219589 615 49
8412173 719 58
8817089 ...

output:

4939848.00000000
1166430.00000000
9051111.00000000
8172665.00000000
3743685.00000000
2613147.00000000
6619367.00000000
4244160.00000000
1566004.00000000
8971577.00000000
4453091.00000000
6507550.00000000
821665.00000000
5429295.00000000
6562215.00000000
286647.00000000
6512680.00000000
219602.000000...

result:

wrong answer 16th numbers differ - expected: '286647.3936170', found: '286647.0000000', error = '0.0000014'