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 13, 2023 21:51sliceteamsliceteamScore: 8,681Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 13, 2023 21:518,650102,822,35169,804,0001,994,0002,523,136
2Aug 13, 2023 21:518,65199,558,52869,810,0001,994,0002,523,136
3Aug 13, 2023 21:518,653103,924,32670,807,0001,011,0002,383,872
4Aug 13, 2023 21:518,65998,051,91870,874,000998,0002,502,656
5Aug 13, 2023 21:518,66695,455,31469,931,0001,998,0002,260,992
6Aug 13, 2023 21:518,669100,858,90170,956,000999,0002,379,776
7Aug 13, 2023 21:518,674106,713,16569,994,0001,999,0002,260,992
8Aug 13, 2023 21:518,68192,715,02472,055,00002,387,968
9Aug 13, 2023 21:518,682101,724,27571,058,0001,000,0002,260,992
10Aug 13, 2023 21:518,697138,234,74672,187,54102,260,992
11Aug 13, 2023 21:518,69895,748,35171,191,0001,002,0002,392,064
12Aug 13, 2023 21:518,711133,807,72972,304,87102,260,992
13Aug 13, 2023 21:518,723143,809,22972,400,81102,256,896
14Aug 13, 2023 21:518,73495,649,84672,491,00002,519,040
15Aug 13, 2023 21:518,76998,303,44071,784,000997,0002,375,680