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 30, 2024 03:47Steve HanSteve HanScore: 16,886Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 30, 2024 03:4716,158185,297,442134,115,44002,273,280
2Apr 30, 2024 03:4816,167192,638,710134,187,81802,273,280
3Apr 30, 2024 03:4816,190193,957,014134,378,75602,269,184
4Apr 30, 2024 03:4816,244192,490,262134,823,81302,269,184
5Apr 30, 2024 03:4716,275190,759,792135,085,29602,277,376
6Apr 30, 2024 03:4916,308201,063,485135,354,88902,273,280
7Apr 30, 2024 03:4916,368194,535,254135,851,77002,269,184
8Apr 30, 2024 03:4916,886206,972,783140,149,91202,273,280
9Apr 30, 2024 03:4716,921197,489,716140,442,84502,265,088
10Apr 30, 2024 03:4816,926206,179,163140,484,02402,281,472
11Apr 30, 2024 03:4816,929212,544,580140,509,71602,277,376
12Apr 30, 2024 03:4816,934212,174,755140,554,61402,277,376
13Apr 30, 2024 03:4816,938192,609,440140,583,15102,269,184
14Apr 30, 2024 03:4816,949205,030,144140,675,79602,281,472
15Apr 30, 2024 03:4816,975203,990,107140,895,09702,273,280