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 29, 2024 15:40GraceGraceScore: 8,966Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 29, 2024 15:418,633100,818,86469,638,0002,018,0002,281,472
2May 29, 2024 15:418,69598,196,51568,162,0004,009,0002,281,472
3May 29, 2024 15:408,71395,315,33568,302,0004,017,0002,281,472
4May 29, 2024 15:408,73496,995,45570,477,0002,013,0002,428,928
5May 29, 2024 15:418,749100,652,19668,637,0003,978,0002,424,832
6May 29, 2024 15:408,75197,120,09969,608,0003,026,0002,281,472
7May 29, 2024 15:418,92495,929,54971,065,0003,002,0002,281,472
8May 29, 2024 15:418,92494,553,01472,069,0002,001,0002,281,472
9May 29, 2024 15:408,92799,634,67371,092,0003,003,0002,281,472
10May 29, 2024 15:408,93395,911,31270,133,0004,007,0002,318,336
11May 29, 2024 15:408,935100,461,98371,158,0003,006,0002,428,928
12May 29, 2024 15:418,943100,740,95971,216,0003,009,0002,318,336
13May 29, 2024 15:408,94594,150,60670,227,0004,013,0002,428,928
14May 29, 2024 15:408,960104,704,69570,346,0004,019,0002,420,736
15May 29, 2024 15:408,96595,618,68970,386,0004,022,0002,441,216
16May 29, 2024 15:418,966101,690,33470,393,0004,022,0002,433,024
17May 29, 2024 15:418,986105,023,52470,551,0004,031,0002,416,640
18May 29, 2024 15:409,011102,424,56971,798,0002,991,0002,428,928
19May 29, 2024 15:419,016101,725,18870,845,0003,991,0002,437,120
20May 29, 2024 15:419,018104,218,92672,856,0001,996,0002,424,832
21May 29, 2024 15:419,018107,344,83972,851,0001,995,0002,441,216
22May 29, 2024 15:419,036102,092,04271,000,0004,000,0002,437,120
23May 29, 2024 15:409,036102,445,14171,000,0004,000,0002,457,600
24May 29, 2024 15:409,05799,824,03671,163,0004,009,0002,428,928
25May 29, 2024 15:419,234132,735,52876,638,16802,183,168
26May 29, 2024 15:419,264140,848,38676,893,54202,183,168
27May 29, 2024 15:409,268140,868,51076,924,60102,306,048
28May 29, 2024 15:409,291150,920,37877,115,44702,199,552
29May 29, 2024 15:409,291143,008,47977,115,21802,306,048
30May 29, 2024 15:419,420141,543,79478,186,73002,310,144