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 listJan 10, 2022 07:39Yuriy LyfenkoYuriy LyfenkoScore: 11,334Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 10, 2022 07:3911,312123,591,17591,890,0001,997,0002,277,376
2Jul 16, 2022 01:3311,314116,285,91591,907,0001,997,0002,277,376
3Jan 10, 2022 07:3911,319122,375,15891,950,0001,998,0002,277,376
4Jan 10, 2022 07:3911,320120,474,34091,954,0001,999,0002,277,376
5Jul 16, 2022 01:3311,321119,937,52891,962,0001,999,0002,285,568
6Jul 16, 2022 01:3311,322117,284,81491,970,0001,999,0002,277,376
7Jul 16, 2022 01:3311,326117,545,49192,009,0002,000,0002,285,568
8Jul 16, 2022 01:3311,326116,815,42893,005,0001,000,0002,277,376
9Jul 16, 2022 01:3311,326116,044,71393,005,0001,000,0002,285,568
10Jul 16, 2022 01:3311,333118,393,52893,066,0001,000,0002,285,568
11Jan 10, 2022 07:3911,334121,458,87392,075,0002,001,0002,285,568
12Jan 10, 2022 07:3911,334115,415,42792,072,0002,001,0002,277,376
13Jul 16, 2022 01:3311,334116,458,96393,076,0001,000,0002,277,376
14Jan 10, 2022 07:3911,335121,179,33192,076,0002,001,0002,285,568
15Jan 10, 2022 07:3911,335117,198,03093,082,0001,000,0002,285,568
16Jan 10, 2022 07:3911,337117,624,62692,094,0002,002,0002,285,568
17Jan 10, 2022 07:3911,337116,383,38393,097,0001,001,0002,285,568
18Jul 16, 2022 01:3311,600117,844,80296,284,00002,379,776
19Jan 10, 2022 07:3911,928175,914,47799,005,03702,277,376
20Jan 10, 2022 07:3911,930164,333,63499,022,36402,281,472
21Jan 10, 2022 07:3911,934159,683,63399,055,26502,277,376
22Jul 16, 2022 01:3311,936162,430,06599,072,20002,281,472
23Jul 16, 2022 01:3311,938174,122,59099,085,66302,293,760
24Jul 16, 2022 01:3311,944178,097,09599,131,36702,277,376