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 23, 2026 03:57timothygktimothygkError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Oct 25, 2026 16:26Andrew Epstein10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 25, 2026 16:270106,896,69374,557,00021,448,0002,117,632expected "107373633669884801 ", got "107373872404822532 "stderr
2Oct 25, 2026 16:27060,325,47128,671,00020,710,00020,480No answer to stdout. Died or killed?stderr
3Oct 23, 2026 03:5812,367113,619,11581,608,00021,041,0002,117,632stderr
4Oct 23, 2026 03:5812,381113,742,06881,513,00021,255,0002,117,632stderr
5Oct 23, 2026 03:5812,383113,903,59181,380,00021,404,0002,117,632stderr
6Oct 23, 2026 03:5812,390113,749,61481,662,00021,179,0002,117,632stderr
7Oct 23, 2026 03:5812,400114,321,16081,264,00021,664,0002,117,632stderr
8Oct 23, 2026 03:5812,422114,091,99681,686,00021,421,0002,117,632stderr
9Oct 23, 2026 03:5812,443114,188,90881,379,00021,903,0002,117,632stderr
10Oct 23, 2026 03:5812,453114,356,53682,012,00021,356,0002,117,632stderr
11Oct 23, 2026 03:5812,536114,998,45082,104,00021,949,0002,117,632stderr