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 10, 2026 19:57Josu San MartinJosu San MartinScore: 5,064Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 10, 2026 23:024,94462,821,73839,032,0002,001,0002,519,040
2Mar 10, 2026 23:024,94863,559,28739,068,0002,003,0002,281,472
3Mar 10, 2026 19:574,98271,419,04240,343,0001,008,0002,281,472
4Mar 10, 2026 23:024,98664,298,15840,372,0001,009,0002,281,472
5Mar 10, 2026 23:025,01270,598,18141,598,00002,281,472
6Mar 10, 2026 23:025,01363,776,96640,595,0001,014,0002,416,640
7Mar 10, 2026 23:025,03767,668,45339,820,0001,991,0002,437,120
8Mar 10, 2026 19:575,03967,882,64839,835,0001,991,0002,408,448
9Mar 10, 2026 23:025,04066,147,31539,837,0001,991,0002,424,832
10Mar 10, 2026 19:575,06468,449,77840,033,0002,001,0002,281,472
11Mar 10, 2026 19:575,07066,149,44840,075,0002,003,0002,281,472
12Mar 10, 2026 23:025,08465,053,62140,190,0002,009,0002,510,848
13Mar 10, 2026 23:025,16563,742,10840,876,0001,993,0002,420,736
14Mar 10, 2026 23:025,17363,351,57940,937,0001,996,0002,281,472
15Mar 10, 2026 23:025,20568,059,86241,196,0002,009,0002,281,472
16Mar 10, 2026 23:025,20966,845,88742,229,0001,005,0002,433,024
17Mar 10, 2026 19:575,21470,460,31842,271,0001,006,0002,281,472
18Mar 10, 2026 19:575,29767,366,04941,967,0001,998,0002,281,472