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 9, 2021 14:00Andrey TsvetkovAndrey TsvetkovScore: 33,186Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 9, 2021 13:5733,178339,448,875275,376,32602,232,320
2Sep 9, 2021 13:5833,179339,678,906275,387,13402,232,320
3Sep 9, 2021 13:5833,181331,972,942275,401,93902,248,704
4Sep 9, 2021 13:5833,182339,287,905275,412,95802,236,416
5Sep 9, 2021 14:0033,186332,246,500275,441,20702,232,320
6Sep 9, 2021 13:5733,189340,406,318275,465,67902,236,416
7Sep 9, 2021 13:5733,194333,753,396275,511,37302,244,608
8Sep 9, 2021 14:0033,197344,836,876275,537,38002,240,512
9Sep 9, 2021 14:0033,201340,339,529275,571,45402,236,416