Parse integers Sergey Svistunov

Compute the sum of integers read from STDIN as fast as possible.

Input: 50 000 000 lines, each containing one integer in the range [0; 2147483647].

629871117
2024562523
1372689083
1021777120
2111176472

Output: The uint64 sum of all numbers, printed as a decimal string.

Note: Integer overflow is expected – use a 64-bit accumulator.

Back to listJul 5, 2026 20:52Kevin HeaveyKevin HeaveyError
Source Code

Source code access is restricted. Log in to request access.

Challenge History
DateChallengerCostTypeStatus
Oct 15, 2026 22:45Andrew Epstein23.51CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 15, 2026 22:48068,962,70040,717,00017,649,0002,117,632expected "107373708274086007 ", got "107373708274085988"
2Oct 15, 2026 22:480126,187,19496,052,00019,534,0002,117,632expected "35061106033154787 ", got "35061106004303988"
3Oct 15, 2026 22:48068,596,22240,885,00017,217,0002,117,632expected "107373884590217381 ", got "107373884590217375"
4Jul 5, 2026 20:534,56747,441,31736,723,0001,187,0002,117,632
5Jul 5, 2026 20:534,58047,587,27636,846,0001,174,0002,117,632
6Jul 5, 2026 20:534,60047,740,61437,045,0001,140,0002,117,632
7Jul 5, 2026 20:534,61049,237,77137,111,0001,159,0002,117,632
8Jul 5, 2026 20:534,61255,190,49237,010,0001,271,0002,121,728
9Jul 5, 2026 20:534,64448,138,59637,316,0001,232,0002,117,632
10Jul 5, 2026 20:534,73248,813,79938,116,0001,167,0002,117,632
11Jul 5, 2026 20:534,73348,847,74838,131,0001,154,0002,117,632
12Jul 5, 2026 20:535,01761,669,67140,623,0001,019,0002,117,632