by@lip_of_cygnus
WA
622ms
freq = {} x=[] i=0 while gets() for word in $_.split('/\s/') a=word.split(" ").to_i end x[i]=a i=i+1 end k=x[1][0] - x[0][0] printf("%d %d\n",k,x[3][2])
03 02 16 81 54 08 36 98 16 30 05 23
Segmentation fault (core dumped)