Attachments
file 1497957022-Answer.docx preview (142 words )
A-----------nsw-----------er ----------- #i-----------ncl-----------ude-----------&am-----------p;l-----------t;i-----------ost-----------rea-----------m&a-----------mp;-----------gt;----------- u-----------sin-----------g n-----------ame-----------spa-----------ce -----------std-----------; -----------int----------- ma-----------in(-----------) -----------{in-----------t i-----------,j,-----------k,i-----------in,-----------jin-----------,mi-----------n; ----------- bo-----------ol -----------use-----------d[4-----------][5-----------]={-----------fal-----------se}-----------; -----------int----------- ar-----------ray-----------[20-----------], -----------mat-----------[4]-----------[5]-----------={1-----------6,2-----------2,9-----------9,4-----------,18-----------,-2-----------58,-----------4,1-----------01,-----------5,9-----------8,1-----------05,-----------5,6-----------,15-----------,2,-----------45,-----------33,-----------88,-----------72,-----------16}-----------; -----------for-----------(k=-----------0;k-----------&am-----------p;l-----------t;2-----------0;k-----------++)----------- ----------- {-----------min-----------=99-----------99;----------- ----------- -----------for-----------(i=-----------0;i-----------&am-----------p;l-----------t;4-----------;i+-----------+) ----------- ----------- ----------- f-----------or(-----------j=0-----------;j&-----------amp-----------;lt-----------;5;-----------j++-----------) ----------- ----------- ----------- ----------- if-----------(!u-----------sed-----------[i]-----------[j]-----------) ----------- ----------- ----------- ----------- -----------if(-----------mat-----------[i]-----------[j]-----------&am-----------p;l-----------t;m-----------in)----------- ----------- ----------- ----------- ----------- ----------- {-----------iin-----------=i;----------- ----------- ----------- ----------- ----------- ----------- j-----------in=-----------j; ----------- ----------- ----------- ----------- ----------- -----------