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 listOct 14, 2024 16:26Joad NacerJoad NacerError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 7, 2026 21:55Adam Folwarczny10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 7, 2026 21:55078,270,07469,185,0001,012,0002,121,728expected "27617841214539459 ", got "42086845207950662"stderr
2Jul 7, 2026 21:55075,457,72366,346,0001,012,0002,121,728expected "27617841214539459 ", got "42086845207950662"stderr
3Jul 7, 2026 21:55075,251,81666,072,0001,012,0002,121,728expected "27617841214539459 ", got "42086845207950662"stderr
4Oct 14, 2024 16:264,23559,209,84732,136,0003,012,0002,306,048
5Oct 14, 2024 16:254,24463,768,85433,211,0002,012,0002,306,048
6Oct 14, 2024 16:254,25754,245,22534,320,0001,009,0002,310,144
7Oct 14, 2024 16:254,26260,196,06934,364,0001,010,0002,306,048
8Oct 14, 2024 16:254,28060,010,82633,497,0002,030,0002,306,048
9Oct 14, 2024 16:264,28056,731,24334,508,0001,014,0002,387,968
10Oct 14, 2024 16:254,31960,754,54433,858,0001,991,0002,273,280
11Oct 14, 2024 16:254,34159,054,26634,027,0002,001,0002,531,328
12Oct 14, 2024 16:254,35358,293,53535,125,0001,003,0002,306,048
13Oct 14, 2024 16:264,36164,186,15935,195,0001,005,0002,535,424
14Oct 14, 2024 16:254,36957,463,72735,255,0001,007,0002,297,856
15Oct 14, 2024 16:264,40060,401,14334,494,0002,029,0002,535,424
16Oct 14, 2024 16:264,40463,434,14236,554,00002,531,328
17Oct 14, 2024 16:264,41764,602,00636,663,00002,301,952
18Oct 14, 2024 16:254,42159,847,78735,673,0001,019,0002,535,424
19Oct 14, 2024 16:264,47861,952,11135,161,0002,009,0002,301,952
20Oct 14, 2024 16:264,58657,146,26237,059,0001,001,0002,301,952
21Oct 14, 2024 16:264,69657,411,59136,975,0001,998,0002,297,856
22Oct 14, 2024 16:264,71461,275,80636,116,0003,009,0002,301,952
23Oct 14, 2024 16:264,81363,442,72437,955,0001,997,0002,531,328
24Oct 14, 2024 16:265,13268,410,55642,597,00002,293,760