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 listJul 15, 2022 16:50Yuriy LyfenkoYuriy LyfenkoScore: 11,780Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 15, 2022 16:5411,751114,320,70297,533,00002,535,424
2Jul 15, 2022 16:5411,752127,186,37196,533,0001,005,0002,289,664
3Jul 15, 2022 16:5411,753124,664,82596,549,0001,005,0002,289,664
4Jul 15, 2022 16:5411,755126,875,97596,562,0001,005,0002,289,664
5Jul 15, 2022 16:5011,756126,925,29296,571,0001,005,0002,289,664
6Jul 15, 2022 16:5411,758126,976,58996,582,0001,006,0002,289,664
7Jul 15, 2022 16:5411,760123,437,66997,609,00002,289,664
8Jul 15, 2022 16:5411,761125,428,28596,610,0001,006,0002,289,664
9Jul 15, 2022 16:5411,762126,769,58997,628,00002,289,664
10Jul 15, 2022 16:5411,762127,882,19996,619,0001,006,0002,289,664
11Jul 15, 2022 16:5411,764123,943,19497,640,00002,289,664
12Jul 15, 2022 16:5411,764123,678,83795,646,0001,992,0002,289,664
13Jul 15, 2022 16:5011,774128,444,40696,729,000997,0002,293,760
14Jul 15, 2022 16:5011,777128,091,63896,753,000997,0002,289,664
15Jul 15, 2022 16:5411,777128,485,16495,759,0001,994,0002,277,376
16Jul 15, 2022 16:5411,777124,516,78297,753,00002,281,472
17Jul 15, 2022 16:5411,779129,874,60495,771,0001,995,0002,289,664
18Jul 15, 2022 16:5011,779125,556,12495,774,0001,995,0002,265,088
19Jul 15, 2022 16:5411,780123,937,52696,774,000997,0002,277,376
20Jul 15, 2022 16:5011,780125,663,78395,775,0001,995,0002,277,376
21Jul 15, 2022 16:5011,780124,183,32995,782,0001,995,0002,265,088
22Jul 15, 2022 16:5011,781125,759,14496,786,000997,0002,281,472
23Jul 15, 2022 16:5011,782125,447,54697,792,00002,383,872
24Jul 15, 2022 16:5011,782126,219,71595,796,0001,995,0002,277,376
25Jul 15, 2022 16:5411,783126,381,06295,801,0001,995,0002,277,376
26Jul 15, 2022 16:5411,783125,327,14995,807,0001,995,0002,289,664
27Jul 15, 2022 16:5411,786123,318,03896,829,000998,0002,289,664
28Jul 15, 2022 16:5411,927161,367,02098,997,52302,273,280
29Jul 15, 2022 16:5411,928173,844,08299,005,16702,273,280
30Jul 15, 2022 16:5411,930169,251,51799,021,47402,277,376
31Jul 15, 2022 16:5411,931181,573,91099,025,40102,281,472
32Jul 15, 2022 16:5011,931170,618,94699,029,39202,281,472
33Jul 15, 2022 16:5411,933175,875,21699,042,53902,273,280
34Jul 15, 2022 16:5411,934166,996,05899,049,98302,281,472
35Jul 15, 2022 16:5011,934178,036,91499,055,82202,269,184
36Jul 15, 2022 16:5011,934170,679,66199,049,89202,273,280