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 listApr 1, 2026 01:13zielajzielajScore: 3,410Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 1, 2026 01:153,39350,652,75626,148,0002,011,0002,433,024
2Apr 1, 2026 01:143,39549,020,54426,167,0002,012,0002,441,216
3Apr 1, 2026 01:133,39652,996,68826,176,0002,013,0002,510,848
4Apr 1, 2026 01:163,40349,164,59526,225,0002,017,0002,519,040
5Apr 1, 2026 01:103,40453,719,64527,243,0001,009,0002,510,848
6Apr 1, 2026 01:153,40654,678,20327,264,0001,009,0002,424,832
7Apr 1, 2026 01:103,40851,887,27827,273,0001,010,0002,433,024
8Apr 1, 2026 01:143,41055,444,12627,295,0001,010,0002,428,928
9Apr 1, 2026 01:143,41257,882,16527,311,0001,011,0002,510,848
10Apr 1, 2026 01:163,41552,538,27827,335,0001,012,0002,424,832
11Apr 1, 2026 01:153,41651,008,96127,341,0001,012,0002,519,040
12Apr 1, 2026 01:163,41651,045,27427,343,0001,012,0002,478,080
13Apr 1, 2026 01:133,42258,183,05527,387,0001,014,0002,519,040
14Apr 1, 2026 01:103,42450,999,10527,404,0001,014,0002,510,848
15Apr 1, 2026 01:133,54452,271,88328,399,0001,014,0002,433,024