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 listJan 27, 2026 22:01lipapipalipapipaScore: 40,195Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 27, 2026 22:0140,127354,978,598332,058,0001,000,0002,404,352
2Jan 22, 2026 19:1040,138356,809,471332,148,0001,000,0002,269,184
3Jan 27, 2026 22:0140,144359,476,393332,197,0001,000,0002,269,184
4Jan 27, 2026 22:0140,150361,458,400332,248,0001,000,0002,396,160
5Jan 22, 2026 19:1040,163358,217,679333,356,00002,269,184
6Jan 27, 2026 22:0140,173362,638,126331,437,0002,002,0002,400,256
7Jan 22, 2026 19:1040,181361,374,007333,500,00002,273,280
8Jan 22, 2026 19:1040,187365,943,095329,562,0003,994,0002,400,256
9Jan 22, 2026 19:1040,193360,241,347331,604,0001,997,0002,269,184
10Jan 27, 2026 22:0140,195362,023,915332,624,000998,0002,269,184
11Jan 22, 2026 19:1040,198359,463,964333,643,00002,269,184
12Jan 22, 2026 19:1040,198359,080,825333,642,00002,269,184
13Jan 27, 2026 22:0140,198358,464,454330,645,0002,996,0002,396,160
14Jan 27, 2026 22:0140,198358,171,729331,649,0001,997,0002,269,184
15Jan 27, 2026 22:0140,198357,023,841330,645,0002,996,0002,269,184
16Jan 22, 2026 19:1040,213365,271,050332,771,000999,0002,392,064
17Jan 22, 2026 19:1040,257356,878,724332,136,0002,000,0002,396,160
18Jan 27, 2026 22:0140,283357,875,523333,347,0001,001,0002,269,184