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 25, 2024 11:29matsuoka-601matsuoka-601Score: 21,596Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 25, 2024 11:2921,554255,652,056178,897,97502,285,568
2Jul 25, 2024 11:2721,563252,894,901178,976,49802,285,568
3Jul 25, 2024 11:2721,567238,441,481179,003,38902,277,376
4Jul 25, 2024 11:2921,569249,875,993179,024,46002,285,568
5Jul 25, 2024 11:2721,569200,592,144177,024,0002,000,0002,281,472
6Jul 25, 2024 11:2921,576237,959,164179,078,00302,285,568
7Jul 25, 2024 11:2921,576201,986,874177,078,0002,000,0002,281,472
8Jul 25, 2024 11:2721,579248,367,070179,106,71102,297,856
9Jul 25, 2024 11:2921,579202,854,848178,107,0001,000,0002,281,472
10Jul 25, 2024 11:2721,588202,003,726178,181,0001,001,0002,523,136
11Jul 25, 2024 11:2921,590203,532,466178,193,0001,001,0002,265,088
12Jul 25, 2024 11:2721,592201,575,974178,212,0001,001,0002,265,088
13Jul 25, 2024 11:2721,596205,869,878178,247,0001,001,0002,265,088
14Jul 25, 2024 11:2921,597202,188,195177,254,0002,002,0002,265,088
15Jul 25, 2024 11:2721,603200,039,302177,304,0002,003,0002,514,944
16Jul 25, 2024 11:2721,608208,894,537178,347,0001,001,0002,281,472
17Jul 25, 2024 11:2921,615201,740,090177,404,0002,004,0002,281,472
18Jul 25, 2024 11:2721,616201,255,569178,407,0001,002,0002,273,280
19Jul 25, 2024 11:2921,616208,534,656178,407,0001,002,0002,281,472
20Jul 25, 2024 11:2721,617199,391,110178,422,0001,002,0002,281,472
21Jul 25, 2024 11:2921,621201,911,326178,454,0001,002,0002,514,944
22Jul 25, 2024 11:2721,629213,270,487178,516,0001,002,0002,281,472
23Jul 25, 2024 11:2921,631215,980,617178,537,0001,003,0002,265,088
24Jul 25, 2024 11:2921,631202,796,660178,536,0001,003,0002,281,472