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 listNov 19, 2024 01:16zielajzielajScore: 3,683Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 19, 2024 01:163,57455,130,03729,661,00002,367,488
2Nov 19, 2024 01:163,59854,535,96127,872,0001,990,0002,514,944
3Nov 19, 2024 01:163,61153,084,32228,974,000999,0002,371,584
4Nov 19, 2024 01:163,68355,575,16429,552,0001,019,0002,269,184
5Nov 19, 2024 01:163,83954,492,10330,871,000995,0002,269,184
6Nov 19, 2024 01:163,89257,320,30431,291,0001,009,0002,531,328