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 3, 2021 22:13evgenikwtevgenikwtScore: 33,400Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 3, 2021 22:1533,336342,137,368276,690,81302,269,184
2Jun 3, 2021 22:0433,378332,230,312277,041,42802,265,088
3Jun 3, 2021 21:5733,380334,111,613277,054,35902,265,088
4Jun 3, 2021 22:1533,388364,952,742277,123,66602,256,896
5Jun 3, 2021 22:1533,392331,430,798277,153,80602,269,184
6Jun 3, 2021 22:1333,394336,866,663277,167,75802,265,088
7Jun 3, 2021 21:5733,400338,150,880277,223,31302,277,376
8Jun 3, 2021 22:0433,404334,852,747277,257,34902,265,088
9Jun 3, 2021 21:5733,414337,069,138277,333,41402,269,184
10Jun 3, 2021 22:0434,718343,342,493288,162,54602,269,184
11Jun 3, 2021 22:1334,733372,681,021288,284,76802,260,992
12Jun 3, 2021 22:1334,733349,874,749288,283,35502,260,992