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 25, 2024 14:02GraceGraceScore: 7,085Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 25, 2024 14:027,05286,649,25457,523,0001,009,0002,269,184
2May 25, 2024 14:027,05287,735,57358,535,00002,285,568
3May 25, 2024 14:027,05380,613,67757,533,0001,009,0002,277,376
4May 25, 2024 14:027,05785,039,71957,562,0001,009,0002,260,992
5May 25, 2024 14:027,05985,862,71257,579,0001,010,0002,285,568
6May 25, 2024 14:027,06385,206,90857,609,0001,010,0002,285,568
7May 25, 2024 14:027,06786,876,74157,645,0001,011,0002,285,568
8May 25, 2024 14:027,08588,717,30256,814,0001,993,0002,285,568
9May 25, 2024 14:027,16081,618,19757,415,0002,014,0002,527,232
10May 25, 2024 14:027,378127,322,24261,234,32402,301,952
11May 25, 2024 14:027,414118,128,95961,537,16902,289,664
12May 25, 2024 14:027,489129,507,10162,155,61602,289,664
13May 25, 2024 14:028,62399,101,44670,565,0001,008,0002,265,088
14May 25, 2024 14:028,645102,748,16870,754,000996,0002,285,568
15May 25, 2024 14:028,655100,245,02169,841,0001,995,0002,285,568