You are viewing a single comment's thread. Return to all comments →
awk ' BEGIN { res = 0 } NR == 2 { for (i = 1; i <= NF; i++) { el = $i if (el in arr) { res -= el } else { arr[el] = el res += el } } print res }'
Seems like cookies are disabled on this browser, please enable them to open this website
Lonely Integer - Bash!
You are viewing a single comment's thread. Return to all comments →