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 listAug 2, 2025 20:14Jack FrigaardJack FrigaardScore: 4,768Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 2, 2025 20:144,68761,441,52935,907,0002,992,0002,519,040
2Aug 2, 2025 20:144,68961,449,78535,927,0002,993,0002,519,040
3Aug 2, 2025 20:144,68965,475,81335,924,0002,993,0002,293,760
4Aug 2, 2025 20:144,68966,556,99235,923,0002,993,0002,445,312
5Aug 2, 2025 20:144,69161,618,10536,937,0001,996,0002,519,040
6Aug 2, 2025 20:144,69463,853,89035,962,0002,996,0002,510,848
7Aug 2, 2025 20:144,69665,906,46435,978,0002,998,0002,519,040
8Aug 2, 2025 20:144,71465,646,33137,122,0002,006,0002,445,312
9Aug 2, 2025 20:144,71665,332,27137,136,0002,007,0002,441,216
10Aug 2, 2025 20:144,76867,453,67038,559,0001,014,0002,453,504
11Aug 2, 2025 20:144,76969,344,52337,552,0002,029,0002,519,040
12Aug 2, 2025 20:144,77367,065,60237,581,0002,031,0002,445,312
13Aug 2, 2025 20:144,77569,817,98337,603,0002,032,0002,265,088
14Aug 2, 2025 20:144,77571,163,66838,620,0001,016,0002,273,280
15Aug 2, 2025 20:144,77766,919,08437,620,0002,033,0002,519,040
16Aug 2, 2025 20:144,78068,030,09938,660,0001,017,0002,519,040
17Aug 2, 2025 20:144,79870,151,42737,832,0001,991,0002,514,944
18Aug 2, 2025 20:144,83364,567,03037,110,0003,008,0002,519,040