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 listOct 15, 2024 20:15aayushaayushScore: 1,827,015Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 15, 2024 20:151,825,13915,181,482,58615,087,682,00060,974,0002,293,760
2Oct 16, 2024 12:431,825,17215,183,053,14715,087,960,00060,971,0002,289,664
3Oct 16, 2024 12:431,825,59715,190,087,09215,084,488,00067,966,0002,281,472
4Oct 16, 2024 12:431,825,66715,181,610,11915,057,071,00095,962,0002,273,280
5Oct 16, 2024 12:431,825,76215,188,338,90715,083,855,00069,966,0002,281,472
6Oct 15, 2024 20:151,826,00915,189,479,98815,089,903,00065,973,0002,269,184
7Oct 16, 2024 12:431,826,01515,193,971,01715,084,956,00070,971,0002,289,664
8Oct 15, 2024 20:151,826,39415,195,726,67715,082,103,00076,964,0002,281,472
9Oct 15, 2024 20:151,826,67515,190,266,81715,104,427,00056,975,0002,281,472
10Oct 15, 2024 20:151,827,01515,198,444,14415,094,258,00069,968,0002,281,472
11Oct 16, 2024 12:431,827,33115,206,140,02715,103,874,00062,974,0002,289,664
12Oct 16, 2024 12:431,827,41715,204,783,09315,110,588,00056,972,0002,281,472
13Oct 16, 2024 12:431,828,49015,206,013,84015,102,501,00073,968,0002,523,136
14Oct 15, 2024 20:151,832,79315,242,237,87615,151,212,00060,972,0002,281,472
15Oct 16, 2024 12:431,834,03815,252,498,94315,156,541,00065,971,0002,289,664
16Oct 15, 2024 20:151,834,29315,255,724,23715,152,665,00071,965,0002,281,472
17Oct 15, 2024 20:151,840,00315,306,695,89715,203,056,00068,973,0002,281,472
18Oct 15, 2024 20:151,840,58615,308,534,41315,219,892,00056,973,0002,281,472