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 listAug 2, 2025 20:02Jack FrigaardJack FrigaardScore: 4,903Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 2, 2025 20:024,87268,708,49737,404,0003,032,0002,285,568
2Aug 2, 2025 20:024,87465,117,71738,436,0002,022,0002,473,984
3Aug 2, 2025 20:024,87665,624,40437,438,0003,035,0002,285,568
4Aug 2, 2025 20:024,87864,885,97237,451,0003,036,0002,478,080
5Aug 2, 2025 20:024,88162,971,53438,488,0002,025,0002,469,888
6Aug 2, 2025 20:024,88261,737,07438,494,0002,026,0002,469,888
7Aug 2, 2025 20:024,88365,590,47338,506,0002,026,0002,473,984
8Aug 2, 2025 20:024,88466,941,02739,527,0001,013,0002,465,792
9Aug 2, 2025 20:024,88765,595,67238,532,0002,028,0002,285,568
10Aug 2, 2025 20:024,89379,751,14839,595,0001,015,0002,285,568
11Aug 2, 2025 20:024,89866,354,88839,641,0001,016,0002,285,568
12Aug 2, 2025 20:024,89965,542,14540,658,00002,478,080
13Aug 2, 2025 20:024,90370,306,69138,657,0002,034,0002,285,568
14Aug 2, 2025 20:024,91466,951,30537,805,0002,984,0002,285,568
15Aug 2, 2025 20:024,91462,575,03038,800,0001,989,0002,469,888
16Aug 2, 2025 20:024,92071,764,44239,838,000995,0002,469,888
17Aug 2, 2025 20:024,92069,613,58337,848,0002,988,0002,465,792
18Aug 2, 2025 20:024,92069,276,07537,849,0002,988,0002,285,568
19Aug 2, 2025 20:024,92067,918,51838,796,0002,041,0002,285,568
20Aug 2, 2025 20:024,92263,350,00839,854,000996,0002,285,568
21Aug 2, 2025 20:024,92368,392,06339,865,000996,0002,473,984
22Aug 2, 2025 20:024,92869,796,22539,905,000997,0002,285,568
23Aug 2, 2025 20:024,93866,103,66537,988,0002,999,0002,473,984
24Aug 2, 2025 20:024,96370,320,59838,182,0003,014,0002,461,696