Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save derekthecool/fcf8715ff72e64ea84e885020650c383 to your computer and use it in GitHub Desktop.
Save derekthecool/fcf8715ff72e64ea84e885020650c383 to your computer and use it in GitHub Desktop.
Clash of code
read n
awk '
{ratio=$2/$3; if(ratio>oldRatio){oldRatio=ratio;name=$1}}
END{print name}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment