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 listSep 7, 2021 17:42Andrey TsvetkovAndrey TsvetkovScore: 33,920Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 7, 2021 17:1933,900342,038,558281,368,73302,240,512
2Sep 7, 2021 18:4533,904345,887,817281,400,14402,232,320
3Sep 7, 2021 17:3633,907337,341,462281,432,13602,232,320
4Sep 7, 2021 17:2733,910333,411,499281,456,20802,240,512
5Sep 7, 2021 17:1133,913334,409,272281,475,91002,244,608
6Sep 7, 2021 17:1133,915350,662,518281,493,77802,240,512
7Sep 7, 2021 16:4133,916331,878,959281,499,78402,236,416
8Sep 7, 2021 17:3633,916339,508,392281,503,67102,240,512
9Sep 7, 2021 18:4533,918348,598,077281,520,87102,236,416
10Sep 7, 2021 17:4233,918337,911,723281,523,04802,240,512
11Sep 7, 2021 17:1933,920335,892,453281,535,39202,228,224
12Sep 7, 2021 17:3633,921343,339,659281,546,50602,244,608
13Sep 7, 2021 17:2733,923371,200,413281,558,62302,240,512
14Sep 7, 2021 16:4133,927364,430,931281,593,72702,240,512
15Sep 7, 2021 17:4233,928345,106,509281,605,62802,244,608
16Sep 7, 2021 18:4533,928335,537,851281,603,42702,232,320
17Sep 7, 2021 16:4133,930334,679,899281,616,20602,228,224
18Sep 7, 2021 17:2733,931332,949,657281,625,05102,224,128
19Sep 7, 2021 17:1933,933337,963,733281,644,58502,232,320
20Sep 7, 2021 17:4233,939336,045,897281,689,84802,236,416
21Sep 7, 2021 17:1133,940364,067,139281,705,23402,240,512