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 listDec 18, 2024 07:08NoSIMD_C#NoSIMD_C#Score: 65,074Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 18, 2024 07:0864,736558,536,020490,283,00047,027,0002,453,504
2Dec 18, 2024 07:0865,074571,969,041485,104,00055,011,0002,535,424
3Dec 18, 2024 07:0865,631569,424,694487,763,00056,972,0002,523,136