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, 2023 20:12Serge SmirnovSerge SmirnovScore: 47,012Success
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, 2023 20:1146,990444,552,506390,015,47502,281,472
2Oct 15, 2023 20:1246,994449,659,388390,049,66602,293,760
3Oct 15, 2023 20:1147,002451,216,025390,116,49402,285,568
4Oct 15, 2023 20:1247,006458,093,899390,150,60802,252,800
5Oct 15, 2023 20:1147,010449,694,490390,179,83802,281,472
6Oct 15, 2023 20:1247,010445,054,436390,182,82002,293,760
7Oct 15, 2023 20:1247,012449,399,452390,196,63002,285,568
8Oct 15, 2023 20:1147,015462,228,521390,220,73202,293,760
9Oct 15, 2023 20:1147,015451,095,778390,226,22102,293,760
10Oct 15, 2023 20:1247,018456,404,979390,253,28002,256,896
11Oct 15, 2023 20:1147,024457,477,170390,303,10202,277,376
12Oct 15, 2023 20:1247,024452,379,075390,297,51902,289,664