const auto in range for loop
simplify main
comments