Result

WA

Duration

455ms

Code [DL]

freq = {}
while gets()
    for word in $_.split('/\s/')
      printf("%s\n",word)
    end
end

stdin

28 29 24
82 74 07
07 92 59
53 40 99

stdout

28 29 24

82 74 07

07 92 59

53 40 99

stderr

strace