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 listOct 17, 2024 00:52Serge SmirnovSerge SmirnovScore: 31,069Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 17, 2024 00:5031,056288,886,534255,763,0001,998,0002,535,424
2Oct 17, 2024 00:5031,057289,451,088256,777,000999,0002,293,760
3Oct 17, 2024 00:5031,063283,223,054256,826,000999,0002,293,760
4Oct 17, 2024 00:5231,069283,442,001255,875,0001,999,0002,293,760
5Oct 17, 2024 00:5231,087290,296,955256,021,0002,000,0002,273,280
6Oct 17, 2024 00:5232,560297,124,272268,247,0002,001,0002,527,232