Remove unused max() function from main
Remove unused min() function from main