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

LongestLines

CodeEval inputファイルの1行目の数だけ、文字列の長い行を出力する。 設問 Write a program to read a multiple line text file and write the 'N' longest lines to stdout. Where the file to be read is specified on the command line. Input sample:Yo…