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 listMar 9, 2026 02:50olliecrowolliecrowError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
May 17, 2026 14:27M-Rochat10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 17, 2026 15:12011,407,165,379730,793,0001,538,732,00024,576expected "11318049299365247 ", got "8724282299095559 "
2May 17, 2026 15:12011,290,721,489744,295,0001,516,654,00036,864expected "11318049299365247 ", got "8724282299095559 "
3May 17, 2026 15:12011,188,578,864740,172,0001,509,287,00024,576expected "11318049299365247 ", got "8724282299095559 "
4Mar 9, 2026 02:505,21172,217,04340,238,0003,017,0002,433,024
5Mar 9, 2026 02:505,24064,320,92340,457,0003,034,0002,506,752
6Mar 9, 2026 02:505,24165,756,67239,453,0004,046,0002,424,832
7Mar 9, 2026 02:505,25168,237,31541,559,0002,027,0002,392,064
8Mar 9, 2026 02:505,37773,618,67541,590,0003,043,0002,330,624
9Mar 9, 2026 02:505,39867,506,47944,803,00002,306,048
10Mar 9, 2026 02:505,39869,555,19542,816,0001,991,0002,363,392
11Mar 9, 2026 02:505,40068,406,70141,829,0002,987,0002,490,368
12Mar 9, 2026 02:505,41772,367,06341,967,0002,997,0002,392,064
13Mar 9, 2026 02:505,57178,816,16644,228,0002,010,0002,322,432
14Mar 9, 2026 02:505,67976,929,62345,131,0002,005,0002,473,984
15Mar 9, 2026 02:505,83975,612,24745,433,0003,028,0002,506,752