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 listMay 27, 2024 13:50GraceGraceScore: 6,515Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 27, 2024 13:506,49686,853,35351,922,0001,997,0002,260,992
2May 27, 2024 13:506,50184,254,53651,962,0001,998,0002,260,992
3May 27, 2024 13:506,50178,011,98751,957,0001,998,0002,519,040
4May 27, 2024 13:506,50185,785,58951,958,0001,998,0002,260,992
5May 27, 2024 13:506,50281,669,20652,965,000999,0002,260,992
6May 27, 2024 13:506,50281,368,86552,969,000999,0002,519,040
7May 27, 2024 13:506,50276,664,70952,969,000999,0002,260,992
8May 27, 2024 13:506,50379,924,99451,973,0001,998,0002,387,968
9May 27, 2024 13:506,50681,492,03452,999,000999,0002,260,992
10May 27, 2024 13:506,50676,359,16753,001,0001,000,0002,260,992
11May 27, 2024 13:506,50779,719,85953,007,0001,000,0002,260,992
12May 27, 2024 13:506,50779,570,40452,012,0002,000,0002,387,968
13May 27, 2024 13:506,50982,146,10453,028,0001,000,0002,383,872
14May 27, 2024 13:506,51081,000,82752,032,0002,001,0002,387,968
15May 27, 2024 13:506,51384,115,92253,060,0001,001,0002,523,136
16May 27, 2024 13:506,51581,988,19652,071,0002,002,0002,523,136
17May 27, 2024 13:506,51781,324,39152,091,0002,003,0002,260,992
18May 27, 2024 13:506,51884,265,90252,095,0002,003,0002,383,872
19May 27, 2024 13:506,51982,548,74152,106,0002,004,0002,519,040
20May 27, 2024 13:506,62980,636,65154,017,0001,000,0002,383,872
21May 27, 2024 13:506,63185,635,45853,033,0002,001,0002,383,872
22May 27, 2024 13:506,63283,686,13853,047,0002,001,0002,260,992
23May 27, 2024 13:506,63980,527,16654,106,0001,001,0002,260,992
24May 27, 2024 13:506,65787,488,02553,247,0002,009,0002,519,040
25May 27, 2024 13:506,824112,135,48856,638,81602,277,376
26May 27, 2024 13:506,829136,927,31656,679,59202,277,376
27May 27, 2024 13:506,830111,279,79256,686,73102,269,184
28May 27, 2024 13:506,841117,214,07156,782,44202,273,280
29May 27, 2024 13:506,847117,133,01656,833,80902,281,472
30May 27, 2024 13:506,848127,825,12756,837,53302,269,184