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 5, 2021 12:18Andrey TsvetkovAndrey TsvetkovScore: 41,836Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 5, 2021 19:3241,784412,118,768346,805,06402,297,856
2Sep 7, 2021 14:3741,789418,980,903346,848,59802,293,760
3Sep 7, 2021 14:3741,790414,220,495346,854,81302,293,760
4Sep 7, 2021 14:3741,791410,812,119346,863,44002,285,568
5Sep 5, 2021 19:3241,795416,679,824346,896,13002,293,760
6Sep 5, 2021 19:3241,809411,999,974347,012,51502,301,952
7Sep 5, 2021 12:1841,836416,834,962347,242,90502,293,760
8Sep 5, 2021 12:1941,846426,555,897347,325,30102,289,664
9Sep 5, 2021 12:1941,871404,669,637347,527,26602,301,952
10Sep 5, 2021 12:1841,931419,948,217348,030,37302,297,856
11Sep 5, 2021 12:1944,234431,269,866367,138,99502,174,976
12Sep 5, 2021 12:1844,414429,712,767368,632,12102,297,856