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 29, 2024 15:42GraceGraceScore: 7,853Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 29, 2024 15:427,44992,709,10057,840,0003,989,0002,396,160
2May 29, 2024 15:427,50785,108,57359,294,0003,014,0002,379,776
3May 29, 2024 15:427,53691,879,95259,526,0003,026,0002,428,928
4May 29, 2024 15:427,75889,839,39461,370,0003,018,0002,428,928
5May 29, 2024 15:427,80990,208,85762,824,0001,994,0002,523,136
6May 29, 2024 15:427,80991,906,79661,823,0002,991,0002,289,664
7May 29, 2024 15:427,82194,126,24261,921,0002,996,0002,289,664
8May 29, 2024 15:427,85389,113,04861,168,0004,011,0002,433,024
9May 29, 2024 15:427,85387,332,46761,171,0004,011,0002,482,176
10May 29, 2024 15:427,85487,123,75561,175,0004,011,0002,269,184
11May 29, 2024 15:427,89891,930,18061,518,0004,033,0002,433,024
12May 29, 2024 15:427,96488,509,42062,099,0004,006,0002,289,664
13May 29, 2024 15:428,122130,248,13367,411,39702,187,264
14May 29, 2024 15:428,178142,508,61167,879,40002,191,360
15May 29, 2024 15:428,232142,640,25568,323,47802,183,168