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 listJun 6, 2024 00:11Joad NacerJoad NacerScore: 7,942Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 6, 2024 00:117,706123,076,74763,956,97302,265,088
2Jun 6, 2024 00:117,919128,306,44565,730,16102,252,800
3Jun 6, 2024 00:117,921124,485,96565,741,32602,277,376
4Jun 6, 2024 00:117,93694,527,81463,870,0001,995,0002,285,568
5Jun 6, 2024 00:117,93990,323,39063,899,0001,996,0002,285,568
6Jun 6, 2024 00:117,93991,119,90464,897,000998,0002,285,568
7Jun 6, 2024 00:117,94190,546,68163,915,0001,997,0002,531,328
8Jun 6, 2024 00:117,94289,372,24463,922,0001,997,0002,273,280
9Jun 6, 2024 00:117,94589,722,87164,942,000999,0002,277,376
10Jun 6, 2024 00:117,94794,650,13463,964,0001,998,0002,371,584
11Jun 6, 2024 00:117,95089,831,08463,990,0001,999,0002,285,568
12Jun 6, 2024 00:118,79094,323,31570,959,0001,998,000184,320
13Jun 6, 2024 00:118,80696,289,48671,090,0002,002,000258,048
14Jun 6, 2024 00:118,82796,475,69572,257,0001,003,000253,952
15Jun 6, 2024 00:119,05797,890,23673,171,0002,004,0002,285,568