QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#39639#151. Nice Lineslarryzhong100 ✓30ms3832kbC++171.5kb2022-07-12 16:55:572022-07-12 16:55:59

詳細信息

Subtask #1:

score: 11
Accepted

Test #1:

score: 11
Accepted
time: 1ms
memory: 3756kb

input:

1 1
999980001.0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
1000000002.0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
1000019999.00000000000000000000000000000000000000000000000000000000000000...

output:

1
20001.0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -999979999.0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
1
20001.00000000000000000000000000000000000000000000000000000000000000000000000...

result:

points 1.0 points  1.0 correct

Test #2:

score: 11
Accepted
time: 3ms
memory: 3752kb

input:

1 1
447222542.4551495114283170551061630249023437500000000000000000000000000000000000000000000000000000000000000000
447231487.1742731060949154198169708251953125000000000000000000000000000000000000000000000000000000000000000000
447204648.5447663671220652759075164794921875000000000000000000000000000000...

output:

1
20001.0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -999979999.0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
1
20001.00000000000000000000000000000000000000000000000000000000000000000000000...

result:

points 1.0 points  1.0 correct

Test #3:

score: 11
Accepted
time: 3ms
memory: 3692kb

input:

1 1
196092601.9864319903863361105322837829589843750000000000000000000000000000000000000000000000000000000000000000
196096524.5052508892113110050559043884277343750000000000000000000000000000000000000000000000000000000000000000
196139668.2899360734591027721762657165527343750000000000000000000000000000...

output:

1
20001.0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -999979999.0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
1
20001.00000000000000000000000000000000000000000000000000000000000000000000000...

result:

points 1.0 points  1.0 correct

Test #4:

score: 11
Accepted
time: 3ms
memory: 3712kb

input:

1 1
3603091.6582661635386557463789358735084533691406250000000000000000000000000000000000000000000000000000000000
3603164.1251818149391965562244877219200134277343750000000000000000000000000000000000000000000000000000000000
3643237.5904114560698872082866728305816650390625000000000000000000000000000000...

output:

1
20001.0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -999979999.0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
1
20001.00000000000000000000000000000000000000000000000000000000000000000000000...

result:

points 1.0 points  1.0 correct

Subtask #2:

score: 13
Accepted

Test #5:

score: 13
Accepted
time: 1ms
memory: 3832kb

input:

2 2
1707086790.3286831481382250785827636718750000000000000000000000000000000000000000000000000000000000000000000000
1707120934.1714136602822691202163696289062500000000000000000000000000000000000000000000000000000000000000000000
1707126772.0444119006861001253128051757812500000000000000000000000000000...

output:

1
20001.0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -999979999.0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
1
20001.00000000000000000000000000000000000000000000000000000000000000000000000...

result:

points 1.0 points  1.0 correct

Test #6:

score: 13
Accepted
time: 3ms
memory: 3776kb

input:

2 2
512333024.0709214494854677468538284301757812500000000000000000000000000000000000000000000000000000000000000000
512343271.4612884510715957731008529663085937500000000000000000000000000000000000000000000000000000000000000000
512354778.2391224807652179151773452758789062500000000000000000000000000000...

output:

1
20001.0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -999979999.0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
1
20001.00000000000000000000000000000000000000000000000000000000000000000000000...

result:

points 1.0 points  1.0 correct

Test #7:

score: 13
Accepted
time: 4ms
memory: 3752kb

input:

2 2
903171089.0022371162776835262775421142578125000000000000000000000000000000000000000000000000000000000000000000
903189154.3637865272467024624347686767578125000000000000000000000000000000000000000000000000000000000000000000
903274743.6472259963629767298698425292968750000000000000000000000000000000...

output:

1
20001.0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -999979999.0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
1
20001.00000000000000000000000000000000000000000000000000000000000000000000000...

result:

points 1.0 points  1.0 correct

Test #8:

score: 13
Accepted
time: 3ms
memory: 3772kb

input:

2 2
12127258.1768299001996638253331184387207031250000000000000000000000000000000000000000000000000000000000000000
12127500.7388580205088146612979471683502197265625000000000000000000000000000000000000000000000000000000000000
12127731.8856978189469373319298028945922851562500000000000000000000000000000...

output:

1
20001.0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -999979999.0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
1
20001.00000000000000000000000000000000000000000000000000000000000000000000000...

result:

points 1.0 points  1.0 correct

Subtask #3:

score: 7
Accepted

Test #9:

score: 7
Accepted
time: 4ms
memory: 3776kb

input:

3 3
1903179393.3324994312133640050888061523437500000000000000000000000000000000000000000000000000000000000000000000
1903217459.6940488421823829412460327148437500000000000000000000000000000000000000000000000000000000000000000000
1903266439.3169636813690885901451110839843750000000000000000000000000000...

output:

1
20001.0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -999979999.0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
1
20001.00000000000000000000000000000000000000000000000000000000000000000000000...

result:

points 1.0 points  1.0 correct

Test #10:

score: 7
Accepted
time: 1ms
memory: 3748kb

input:

3 3
1480596378.4154926801566034555435180664062500000000000000000000000000000000000000000000000000000000000000000000
1480625992.4311858772998675704002380371093750000000000000000000000000000000000000000000000000000000000000000000
1480657128.2288977639982476830482482910156250000000000000000000000000000...

output:

1
20001.0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -999979999.0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
1
20001.00000000000000000000000000000000000000000000000000000000000000000000000...

result:

points 1.0 points  1.0 correct

Test #11:

score: 7
Accepted
time: 4ms
memory: 3780kb

input:

3 3
31926583.3379827333174034720286726951599121093750000000000000000000000000000000000000000000000000000000000000
31927221.5143071342117764288559556007385253906250000000000000000000000000000000000000000000000000000000000000
31887858.3800208042612212011590600013732910156250000000000000000000000000000...

output:

1
20001.0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -999979999.0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
1
20001.00000000000000000000000000000000000000000000000000000000000000000000000...

result:

points 1.0 points  1.0 correct

Test #12:

score: 7
Accepted
time: 4ms
memory: 3784kb

input:

3 3
35824231.2416548689943738281726837158203125000000000000000000000000000000000000000000000000000000000000000000
35824947.3762116631805838551372289657592773437500000000000000000000000000000000000000000000000000000000000000
35785643.9440046308882301673293113708496093750000000000000000000000000000000...

output:

1
20001.0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -999979999.0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
1
20001.00000000000000000000000000000000000000000000000000000000000000000000000...

result:

points 1.0 points  1.0 correct

Subtask #4:

score: 19
Accepted

Test #13:

score: 19
Accepted
time: 3ms
memory: 3800kb

input:

4 100
1459393631.8089601233368739485740661621093750000000000000000000000000000000000000000000000000000000000000000000
1459422821.7249342957511544227600097656250000000000000000000000000000000000000000000000000000000000000000000000
1459452023.32551758910994976758956909179687500000000000000000000000000...

output:

1
20001.0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -999979999.0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
1
20001.00000000000000000000000000000000000000000000000000000000000000000000000...

result:

points 1.0 points  1.0 correct

Test #14:

score: 19
Accepted
time: 14ms
memory: 3808kb

input:

4 100
903051228.9296037034364417195320129394531250000000000000000000000000000000000000000000000000000000000000000000
903069292.0238207378424704074859619140625000000000000000000000000000000000000000000000000000000000000000000000
903167881.81829512317199259996414184570312500000000000000000000000000000...

output:

1
20001.0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -999979999.0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
1
20001.00000000000000000000000000000000000000000000000000000000000000000000000...

result:

points 1.0 points  1.0 correct

Test #15:

score: 19
Accepted
time: 0ms
memory: 3788kb

input:

4 100
741405356.6088512234855443239212036132812500000000000000000000000000000000000000000000000000000000000000000000
741420191.3543836291064508259296417236328125000000000000000000000000000000000000000000000000000000000000000000
741995026.61254563787952065467834472656250000000000000000000000000000000...

output:

1
20001.0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -999979999.0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
1
20001.00000000000000000000000000000000000000000000000000000000000000000000000...

result:

points 1.0 points  1.0 correct

Test #16:

score: 19
Accepted
time: 7ms
memory: 3792kb

input:

4 100
1972429005.6953012634767219424247741699218750000000000000000000000000000000000000000000000000000000000000000000
1972468456.1356961424462497234344482421875000000000000000000000000000000000000000000000000000000000000000000000
1972417791.45273693068884313106536865234375000000000000000000000000000...

output:

1
20001.0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -999979999.0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
1
20001.00000000000000000000000000000000000000000000000000000000000000000000000...

result:

points 1.0 points  1.0 correct

Subtask #5:

score: 23
Accepted

Test #17:

score: 23
Accepted
time: 8ms
memory: 3784kb

input:

5 30
9338548.6902882855456482502631843090057373046875000000000000000000000000000000000000000000000000000000000000
9338735.4744088889983686385676264762878417968750000000000000000000000000000000000000000000000000000000000000
9338929.496147630678933637682348489761352539062500000000000000000000000000000...

output:

1
20001.0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -999979999.0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
1
20001.00000000000000000000000000000000000000000000000000000000000000000000000...

result:

points 1.0 points  1.0 correct

Test #18:

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

input:

5 30
12902183.9730870240928197745233774185180664062500000000000000000000000000000000000000000000000000000000000000
12902442.8348100205648734117858111858367919921875000000000000000000000000000000000000000000000000000000000000
12982694.082657417206064565107226371765136718750000000000000000000000000000...

output:

1
20001.0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -999979999.0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
1
20001.00000000000000000000000000000000000000000000000000000000000000000000000...

result:

points 1.0 points  1.0 correct

Test #19:

score: 23
Accepted
time: 6ms
memory: 3704kb

input:

5 30
8112996.2618499513218921492807567119598388671875000000000000000000000000000000000000000000000000000000000000
8113156.9331441049675959220621734857559204101562500000000000000000000000000000000000000000000000000000000000
7953329.837209679152238095412030816078186035156250000000000000000000000000000...

output:

1
20001.0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -999979999.0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
1
20001.00000000000000000000000000000000000000000000000000000000000000000000000...

result:

points 1.0 points  1.0 correct

Test #20:

score: 23
Accepted
time: 7ms
memory: 3776kb

input:

5 30
20880210.4252788072572002420201897621154785156250000000000000000000000000000000000000000000000000000000000000
20880624.8579197574799763970077037811279296875000000000000000000000000000000000000000000000000000000000000000
20560981.610141810953791718930006027221679687500000000000000000000000000000...

output:

1
20001.0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -999979999.0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
1
20001.00000000000000000000000000000000000000000000000000000000000000000000000...

result:

points 1.0 points  1.0 correct

Subtask #6:

score: 27
Accepted

Test #21:

score: 27
Accepted
time: 23ms
memory: 3796kb

input:

6 100
56727121.5984957733126066159456968307495117187500000000000000000000000000000000000000000000000000000000000000
56728261.0175484896644775290042161941528320312500000000000000000000000000000000000000000000000000000000000000
57209086.86271652192954206839203834533691406250000000000000000000000000000...

output:

1
20001.0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -999979999.0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
1
20001.00000000000000000000000000000000000000000000000000000000000000000000000...

result:

points 1.0 points  1.0 correct

Test #22:

score: 27
Accepted
time: 4ms
memory: 3740kb

input:

6 100
63744706.0061544114105345215648412704467773437500000000000000000000000000000000000000000000000000000000000000
63745977.7897859667937154881656169891357421875000000000000000000000000000000000000000000000000000000000000000
63427298.54915624326531542465090751647949218750000000000000000000000000000...

output:

1
20001.0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -999979999.0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
1
20001.00000000000000000000000000000000000000000000000000000000000000000000000...

result:

points 1.0 points  1.0 correct

Test #23:

score: 27
Accepted
time: 30ms
memory: 3824kb

input:

6 100
41938678.9549171381368068978190422058105468750000000000000000000000000000000000000000000000000000000000000000
41939514.5869574185126111842691898345947265625000000000000000000000000000000000000000000000000000000000000000
41620347.12181688052442041225731372833251953125000000000000000000000000000...

output:

1
20001.0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -999979999.0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
1
20001.00000000000000000000000000000000000000000000000000000000000000000000000...

result:

points 1.0 points  1.0 correct

Test #24:

score: 27
Accepted
time: 6ms
memory: 3728kb

input:

6 100
92529849.1969354871398536488413810729980468750000000000000000000000000000000000000000000000000000000000000000
92531703.1188829982274910435080528259277343750000000000000000000000000000000000000000000000000000000000000000
92853076.40789291078544920310378074645996093750000000000000000000000000000...

output:

1
20001.0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -999979999.0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
1
20001.00000000000000000000000000000000000000000000000000000000000000000000000...

result:

points 1.0 points  1.0 correct