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 21, 2025 18:46alfaixalfaixScore: 390,287Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 21, 2025 18:46389,1763,263,518,3463,151,206,00078,955,0002,293,760
2Feb 21, 2025 18:46390,0373,271,853,8223,163,348,00073,961,0002,281,472
3Feb 21, 2025 18:54390,1213,264,387,8953,155,030,00082,974,0002,293,760
4Feb 21, 2025 18:46390,2113,271,629,9043,165,803,00072,949,0002,281,472
5Feb 21, 2025 18:46390,2423,269,770,8433,162,053,00076,952,0002,506,752
6Feb 21, 2025 18:54390,2483,269,179,7153,166,106,00072,956,0002,281,472
7Feb 21, 2025 18:46390,2873,264,645,5623,166,416,00072,963,0002,281,472
8Feb 21, 2025 18:46390,3103,268,939,2553,151,609,00087,961,0002,293,760
9Feb 21, 2025 18:46390,7273,267,715,1563,166,078,00076,953,0002,281,472
10Feb 21, 2025 18:46390,8533,269,800,3033,153,136,00090,946,0002,510,848
11Feb 21, 2025 18:54391,1563,278,266,6973,176,623,00069,969,0002,281,472
12Feb 21, 2025 18:46391,7013,279,818,4563,195,149,00055,967,0002,281,472