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 listMar 10, 2023 18:16Andranik ChakiryanAndranik ChakiryanScore: 250,121Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 10, 2023 18:16250,0012,143,453,1572,075,008,37802,215,936
2Oct 6, 2023 19:01250,0662,139,774,8072,075,547,59002,215,936
3Oct 6, 2023 19:01250,0922,137,751,3082,075,766,24702,207,744
4Mar 10, 2023 18:16250,1212,141,969,4672,076,007,74202,215,936
5Mar 10, 2023 18:16250,2242,137,794,2342,076,861,58302,215,936
6Oct 6, 2023 19:01250,5862,140,583,9562,079,859,71102,215,936