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 listSep 7, 2021 16:54Andrey TsvetkovAndrey TsvetkovScore: 34,789Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 7, 2021 16:5434,771343,481,055288,602,13502,224,128
2Sep 7, 2021 16:5334,780346,635,858288,671,69602,228,224
3Sep 7, 2021 16:5334,782348,065,175288,689,52102,236,416
4Sep 7, 2021 16:5334,789344,434,363288,747,96202,220,032
5Sep 7, 2021 16:5434,790348,782,280288,761,08802,236,416
6Sep 7, 2021 16:5434,791354,430,449288,762,75302,232,320