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 4, 2023 10:09sadfunsadfunScore: 72,625Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 4, 2023 10:0872,558655,790,189602,230,96502,211,840
2Aug 4, 2023 10:0972,561665,827,083602,256,71102,207,744
3Aug 4, 2023 10:0872,567664,093,039602,307,76502,215,936
4Aug 4, 2023 10:0972,594660,267,242602,530,31402,203,648
5Aug 4, 2023 10:0972,594668,665,603602,528,37902,207,744
6Aug 4, 2023 10:0872,613670,928,221602,684,06902,211,840
7Aug 4, 2023 10:0972,625660,504,446602,789,90902,211,840
8Aug 4, 2023 10:0972,6281,287,090,154602,811,26402,211,840
9Aug 4, 2023 10:0972,634670,926,249602,861,09702,207,744
10Aug 4, 2023 10:0972,656677,215,291603,041,61702,207,744
11Aug 4, 2023 10:0972,712698,265,273603,508,48302,215,936
12Aug 4, 2023 10:0972,716700,767,634603,545,92302,265,088