Write a program(filename:[login to view URL]) in Go to solve the previous problem, using the example above, the input data format is as follows
31 4
5 13 17 24
the program should firstly read an integer(i.e 31) which is total length of steel bar. Next, theprogram reads another integer (i.e 4) which tells the program how many integers followed then, the program needs to read the four cutting points