QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#503083#5727. Interstellar Travelxiaowuc1AC ✓347ms36192kbC++173.7kb2024-08-03 16:16:342024-08-03 16:16:36

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

2
100 1 1
100 1 1.5

output:

199.50000000000000000

result:

ok found '199.5000000', expected '199.5000000', error '0.0000000'

Test #2:

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

input:

4
100 1 0.5
200 1 1
100 0.5 1.5
10 2 3

output:

405.50000000000005684

result:

ok found '405.5000000', expected '405.5000000', error '0.0000000'

Test #3:

score: 0
Accepted
time: 169ms
memory: 24692kb

input:

65156
589.879800 23.439587 4.669064
111.188574 61.405781 2.251292
402.539682 35.961327 5.047919
601.440363 52.968892 0.300876
929.328609 40.023141 0.965123
247.579029 55.643707 0.899498
336.117533 26.765365 4.825658
655.889160 86.847477 5.667617
606.234124 51.362894 2.955658
46.788799 79.573087 0.20...

output:

27867620.66015197336673737

result:

ok found '27867620.6601520', expected '27867620.6601520', error '0.0000000'

Test #4:

score: 0
Accepted
time: 41ms
memory: 10632kb

input:

20780
457.480798 65.415296 3.651446
631.717164 62.392524 5.905843
531.411231 62.477661 3.272282
455.717524 15.952200 1.548807
753.667209 18.563137 1.581605
213.788373 47.220244 2.187795
360.476724 57.906581 4.411827
747.989057 64.364770 0.275147
454.189139 4.482583 1.445919
448.459992 67.034463 2.00...

output:

8902961.15150679834187031

result:

ok found '8902961.1515068', expected '8902961.1515070', error '0.0000000'

Test #5:

score: 0
Accepted
time: 154ms
memory: 21328kb

input:

54794
928.046627 11.834519 2.855723
944.218147 28.206307 5.594957
562.397310 16.314877 5.985967
874.803617 54.143637 5.772357
802.992342 45.062902 6.184437
999.371277 96.803367 1.910329
716.765939 24.372757 5.394717
441.262096 86.310555 0.382004
202.463202 16.937411 3.718756
808.617088 35.640098 4.9...

output:

23310686.53826385363936424

result:

ok found '23310686.5382639', expected '23310686.5382640', error '0.0000000'

Test #6:

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

input:

103
100.000000 100.000000 0.000000
99.500000 100.000000 0.061002
99.500000 100.000000 0.122003
99.500000 100.000000 0.183005
99.500000 100.000000 0.244007
99.500000 100.000000 0.305009
99.500000 100.000000 0.366010
99.500000 100.000000 0.427012
99.500000 100.000000 0.488014
99.500000 100.000000 0.54...

output:

1624.75240000000098917

result:

ok found '1624.7524000', expected '1624.7524000', error '0.0000000'

Test #7:

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

input:

107
99.500000 100.000000 0.000000
99.500000 100.000000 0.058721
99.500000 100.000000 0.117443
99.500000 100.000000 0.176164
99.500000 100.000000 0.234885
99.500000 100.000000 0.293607
99.500000 100.000000 0.352328
99.500000 100.000000 0.411049
99.500000 100.000000 0.469770
99.500000 100.000000 0.528...

output:

1686.78050000000439468

result:

ok found '1686.7805000', expected '1686.7805000', error '0.0000000'

Test #8:

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

input:

2
100 100 0
99.5 100 3.14159

output:

100.00000000000000000

result:

ok found '100.0000000', expected '100.0000000', error '0.0000000'

Test #9:

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

input:

2
100 100 1
99 100 4.14159

output:

100.00000000000000000

result:

ok found '100.0000000', expected '100.0000000', error '0.0000000'

Test #10:

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

input:

2
99 100 1
100 100 4.14159

output:

100.00000000000000000

result:

ok found '100.0000000', expected '100.0000000', error '0.0000000'

Test #11:

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

input:

4
100 80 0
99.5 80 3.14159
99.5 80 1.570795
99.5 80 4.712385

output:

100.00000000000008527

result:

ok found '100.0000000', expected '100.0000000', error '0.0000000'

Test #12:

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

input:

4
100 80 0.5
99.5 80 3.64159
99.5 80 2.070795
99.5 80 5.212385

output:

100.00000000000008527

result:

ok found '100.0000000', expected '100.0000000', error '0.0000000'

Test #13:

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

input:

4
99.5 80 0.5
99.5 80 3.64159
100 80 2.070795
99.5 80 5.212385

output:

100.00000000000008527

result:

ok found '100.0000000', expected '100.0000000', error '0.0000000'

Test #14:

score: 0
Accepted
time: 316ms
memory: 33412kb

input:

100000
218.637983 100.000000 4.021337
701.324977 83.903964 0.554289
6.498770 100.000000 5.602484
957.213073 67.318909 0.153934
343.955729 52.904173 4.026135
973.115764 75.706875 2.641459
885.451749 72.327005 1.406152
227.898283 57.877593 0.153385
834.110428 32.530819 4.245030
936.654588 100.000000 0...

output:

41232647.65186559408903122

result:

ok found '41232647.6518656', expected '41232647.6518660', error '0.0000000'

Test #15:

score: 0
Accepted
time: 347ms
memory: 36192kb

input:

100000
218.637983 100.000000 4.054635
701.324977 83.903964 0.626611
6.498770 100.000000 5.573279
957.213073 67.318909 0.125013
343.955729 52.904173 4.102617
973.115764 75.706875 2.555470
885.451749 72.327005 1.439255
227.898283 57.877593 0.119524
834.110428 32.530819 4.183843
936.654588 100.000000 0...

output:

41137197.17581156641244888

result:

ok found '41137197.1758116', expected '41137197.1758120', error '0.0000000'

Test #16:

score: 0
Accepted
time: 318ms
memory: 32660kb

input:

100000
25.010765 27.502932 4.108451
590.492517 3.178268 3.920055
26.535979 19.883765 3.900873
809.430459 0.649876 4.069159
155.479508 95.721307 3.907582
358.979387 34.395572 4.212587
536.228096 97.311576 3.915408
628.639803 88.545175 4.062555
45.824393 22.789828 4.119063
453.410308 83.411043 3.98946...

output:

49698713.50881724059581757

result:

ok found '49698713.5088172', expected '49698713.5088170', error '0.0000000'