2 ms·
could you just add the character values eg 49 for ascii 1, and then subtract off the offset once at the end instead of doing atoi on each line? edit: doh that
by fragmede 3y ago
could you just add the character values eg 49 for ascii 1, and then subtract off the offset once at the end instead of doing atoi on each line?
edit: doh that works for min and max but the average overflows.
- gpvos 3y agoYes. I'm not sure it'll help, but def worth a try.