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 listJun 29, 2021 11:19Andrey TsvetkovAndrey TsvetkovScore: 78,126Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 29, 2021 11:1978,090715,799,657648,144,69002,211,840
2Jun 29, 2021 10:5878,093731,217,073648,170,72102,220,032
3Jun 29, 2021 10:5878,115702,605,763648,353,18602,220,032
4Jun 29, 2021 11:1978,126706,715,636648,447,02702,207,744
5Jun 29, 2021 10:5878,131706,730,070648,486,93302,207,744
6Jun 29, 2021 11:1978,157722,256,349648,700,84602,220,032