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 listJul 8, 2021 21:30Prisyazhnyuk AlexanderPrisyazhnyuk AlexanderScore: 98,835Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 8, 2021 21:4698,811888,229,396820,133,25602,220,032
2Jul 8, 2021 21:4698,822873,289,012820,223,81102,224,128
3Jul 8, 2021 21:4698,834888,857,562820,324,08702,224,128
4Jul 8, 2021 21:3098,835883,412,057820,327,40902,220,032
5Jul 8, 2021 21:3098,836878,873,489820,334,66202,220,032
6Jul 8, 2021 21:3098,857880,572,383820,512,73002,215,936