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 04:21matsuoka-601matsuoka-601Score: 9,814Success
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 04:219,13597,674,47473,829,0001,995,0002,363,392
2Aug 23, 2023 04:219,181100,438,69874,197,0002,005,0002,285,568
3Aug 23, 2023 04:219,347101,983,41176,571,0001,007,0002,285,568
4Aug 23, 2023 04:219,756138,964,51080,975,02502,273,280
5Aug 23, 2023 04:219,762107,272,25279,028,0002,000,0002,285,568
6Aug 23, 2023 04:219,778140,105,29581,156,96502,277,376
7Aug 23, 2023 04:219,783109,014,10880,194,0001,002,0002,510,848
8Aug 23, 2023 04:219,814152,731,23881,457,77102,273,280
9Aug 23, 2023 04:219,849108,547,28480,751,000996,0002,519,040
10Aug 23, 2023 04:219,850108,076,55780,759,000997,0002,285,568
11Aug 23, 2023 04:219,978109,831,45782,817,00002,285,568
12Aug 23, 2023 04:2110,019106,274,83781,152,0002,003,0002,285,568
13Aug 23, 2023 04:2110,171110,843,21483,414,0001,004,0002,285,568
14Aug 23, 2023 04:2110,227109,848,07183,888,000998,0002,285,568
15Aug 23, 2023 04:2110,350109,420,51183,912,0001,997,0002,351,104