A study that compared test scores of more than 144 million students on a standardized international exam and 270 million exam scores of US students found days above 80 degrees affected academic performance.