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 listDec 21, 2021 23:38Yuriy LyfenkoYuriy LyfenkoError
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 21, 2021 23:0600000Error: expected "53692664113798091 ", got "53692664113772491 "
2Dec 21, 2021 23:0600000Error: expected "53682582877271045 ", got "53682582877015145 "
3Dec 21, 2021 23:2500000Error: expected "53687663824501070 ", got "53687663568601070 "
4Dec 21, 2021 23:2500000Error: expected "53687839409838845 ", got "53687839409582945 "
5Dec 21, 2021 23:3700000Error: expected "53691875776545117 ", got "53691875520645117 "
6Dec 21, 2021 23:3800000Error: expected "53689687129449732 ", got "53689687129424132 "
7Dec 21, 2021 23:3800000Error: expected "53682541175077903 ", got "53682541175052303 "
8Dec 21, 2021 23:3800000Error: expected "53685617496867064 ", got "53685617496611164 "
9Dec 22, 2021 02:3700000Error: expected "53680762378353176 ", got "53680762378097276 "
10Dec 22, 2021 02:3800000Error: expected "53687389950851808 ", got "53687389950826208 "
11Dec 22, 2021 02:3800000Error: expected "53686725592984534 ", got "53686725592703034 "
12Dec 21, 2021 23:3833,058331,875,879274,383,64202,211,840
13Dec 21, 2021 23:3833,128344,660,322274,961,23502,220,032
14Dec 21, 2021 23:3833,137344,321,455275,034,50502,215,936