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 listApr 14, 2024 12:56E SequeiraE SequeiraScore: 19,400Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 14, 2024 12:5919,374221,649,902160,802,83302,236,416
2Apr 14, 2024 12:5819,387230,596,570160,910,85402,220,032
3Apr 14, 2024 13:0019,387228,883,938160,914,32002,236,416
4Apr 14, 2024 12:5619,391219,737,926160,948,70302,228,224
5Apr 14, 2024 12:5819,395213,153,878160,979,84302,224,128
6Apr 14, 2024 12:5619,397232,727,794160,998,07202,236,416
7Apr 14, 2024 12:5919,400219,974,223161,017,57902,236,416
8Apr 14, 2024 13:0019,401217,829,281161,028,67902,228,224
9Apr 14, 2024 13:0019,405226,218,152161,063,85602,232,320
10Apr 14, 2024 12:5619,410227,321,391161,098,91802,220,032
11Apr 14, 2024 12:5819,614250,866,186162,797,50702,240,512
12Apr 14, 2024 12:5919,626223,377,706162,899,91102,224,128