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 listFeb 20, 2023 21:26Иван БалашовИван БалашовScore: 250,295Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 20, 2023 21:26250,0542,138,415,2012,075,449,40802,203,648
2Feb 20, 2023 21:23250,1452,137,230,8322,076,200,78902,207,744
3Feb 20, 2023 21:23250,2432,136,515,0552,077,012,87302,215,936
4Feb 20, 2023 21:26250,2952,136,802,6362,077,444,49902,220,032
5Feb 20, 2023 21:26250,2952,132,248,1652,077,448,07102,220,032
6Feb 20, 2023 21:23251,0012,141,796,8612,083,310,20102,211,840