fork download
  1. perl -nale '$F[1]=~s/://;$h{$F[0]}=$F[1]if($F[1]>$h{$F[0]});END{for(sort keys(%h)){($x=$h{$_})=~s/^(..)(..)$/\1:\2/;print"$_ $x"}}'
Success #stdin #stdout 0.02s 5348KB
stdin
1 12:00
1 12:34
1 01:01
1 08:06
2 09:56
2 06:52
stdout
1 12:34
2 09:56