2012-02-22から1日間の記事一覧

Mth to last element

後ろから数えてM番目の要素を出力。 設問 Write a program to determine the Mth to last element of a list. Input sample:The first argument will be a text file containing a series of space delimited characters followed by an integer representin…