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 listMay 27, 2021 10:55Andrei GrazhdankovAndrei GrazhdankovScore: 56,562Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 27, 2021 10:5556,535515,558,198469,236,93902,224,128
2May 27, 2021 10:5556,544515,607,072469,319,14402,232,320
3May 27, 2021 10:5556,548511,868,580469,346,10002,224,128
4May 27, 2021 10:5556,562533,043,876469,467,50302,260,992
5May 27, 2021 10:5556,574506,948,375469,564,26102,228,224
6May 27, 2021 10:5556,602550,762,194469,797,61302,215,936