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 23, 2023 03:25matsuoka-601matsuoka-601Score: 10,132Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 23, 2023 03:259,465108,857,99977,551,0001,007,0002,285,568
2Aug 23, 2023 03:259,505103,182,26076,891,0001,997,0002,285,568
3Aug 23, 2023 03:259,525104,913,83777,060,0002,001,0002,285,568
4Aug 23, 2023 03:259,964147,923,12382,697,12602,285,568
5Aug 23, 2023 03:2510,008159,324,36883,066,76602,273,280
6Aug 23, 2023 03:2510,108108,509,83081,902,0001,997,0002,277,376
7Aug 23, 2023 03:2510,131110,236,42382,083,0002,002,0002,285,568
8Aug 23, 2023 03:2510,132106,515,35782,095,0002,002,0002,367,488
9Aug 23, 2023 03:2510,151107,163,60383,250,0001,003,0002,285,568
10Aug 23, 2023 03:2510,156151,361,11184,292,88002,277,376
11Aug 23, 2023 03:2510,160109,270,83682,322,0002,007,0002,285,568
12Aug 23, 2023 03:2510,167107,300,14683,379,0001,004,0002,285,568
13Aug 23, 2023 03:2510,366109,456,53484,036,0002,000,0002,506,752
14Aug 23, 2023 03:2510,495116,861,19887,109,00002,519,040
15Aug 23, 2023 03:2510,585116,496,19485,858,0001,996,0002,285,568