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 4, 2024 17:36GraceGraceScore: 5,134Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 4, 2024 17:365,016109,638,74441,635,05902,285,568
2Jun 4, 2024 17:365,019106,284,63341,658,67902,289,664
3Jun 4, 2024 17:365,020100,840,66841,667,53202,285,568
4Jun 4, 2024 17:365,025108,656,13941,704,68802,293,760
5Jun 4, 2024 17:365,027118,665,93541,725,79502,281,472
6Jun 4, 2024 17:365,027108,014,18141,726,62902,277,376
7Jun 4, 2024 17:365,028103,835,75341,736,21402,289,664
8Jun 4, 2024 17:365,028129,102,81641,730,87502,289,664
9Jun 4, 2024 17:365,030114,903,17041,752,68502,293,760
10Jun 4, 2024 17:365,032116,312,32641,762,38802,281,472
11Jun 4, 2024 17:365,033100,625,40141,774,52102,281,472
12Jun 4, 2024 17:365,054138,768,41341,947,45902,285,568
13Jun 4, 2024 17:365,11966,502,81141,473,0001,011,0002,273,280
14Jun 4, 2024 17:365,12773,272,61542,556,00002,404,352
15Jun 4, 2024 17:365,12769,949,68441,541,0001,013,0002,392,064
16Jun 4, 2024 17:365,12864,052,03242,563,00002,273,280
17Jun 4, 2024 17:365,12975,030,51942,574,00002,273,280
18Jun 4, 2024 17:365,13274,642,01441,583,0001,014,0002,273,280
19Jun 4, 2024 17:365,13268,240,87741,578,0001,014,0002,273,280
20Jun 4, 2024 17:365,13267,718,78242,597,00002,392,064
21Jun 4, 2024 17:365,13272,546,79741,585,0001,014,0002,273,280
22Jun 4, 2024 17:365,13368,387,07841,590,0001,014,0002,273,280
23Jun 4, 2024 17:365,13372,483,39441,594,0001,014,0002,396,160
24Jun 4, 2024 17:365,13467,961,75241,599,0001,014,0002,396,160
25Jun 4, 2024 17:365,13475,740,77642,610,00002,506,752
26Jun 4, 2024 17:365,13570,189,67042,623,00002,400,256
27Jun 4, 2024 17:365,13769,474,41841,626,0001,015,0002,273,280
28Jun 4, 2024 17:365,13772,250,35942,637,00002,392,064
29Jun 4, 2024 17:365,13771,938,51341,620,0001,015,0002,273,280
30Jun 4, 2024 17:365,14076,154,97542,664,00002,400,256
31Jun 4, 2024 17:365,14067,560,85141,668,000992,0002,400,256
32Jun 4, 2024 17:365,14168,071,45941,656,0001,016,0002,400,256
33Jun 4, 2024 17:365,14368,679,75941,670,0001,016,0002,273,280
34Jun 4, 2024 17:365,14567,424,51641,687,0001,016,0002,273,280
35Jun 4, 2024 17:365,15668,274,28442,796,00002,273,280
36Jun 4, 2024 17:365,15969,440,46741,822,000995,0002,273,280
37Jun 4, 2024 17:365,16272,050,76241,848,000996,0002,400,256
38Jun 4, 2024 17:365,16569,123,26040,879,0001,994,0002,273,280
39Jun 4, 2024 17:365,25872,777,46142,624,0001,014,0002,273,280
40Jun 4, 2024 17:366,09279,736,67450,567,00002,400,256
41Jun 4, 2024 17:366,09378,555,49349,557,0001,011,0002,404,352
42Jun 4, 2024 17:366,10277,284,43049,631,0001,012,0002,273,280
43Jun 4, 2024 17:366,12680,903,88549,849,000996,0002,400,256
44Jun 4, 2024 17:366,12677,808,79848,851,0001,993,0002,273,280
45Jun 4, 2024 17:366,12884,086,96148,866,0001,994,0002,273,280
46Jun 4, 2024 17:366,13976,309,68049,955,000999,0002,273,280
47Jun 4, 2024 17:366,13976,846,06949,952,000999,0002,273,280
48Jun 4, 2024 17:366,18275,795,15650,305,0001,006,0002,273,280