Reading many numbers
Read · 1 of 4
First n, then n numbers
Most problems give you a count first, then the numbers. Read the count, then loop that many times, reading one number per round.
Read · 1 of 4
Most problems give you a count first, then the numbers. Read the count, then loop that many times, reading one number per round.