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 15, 2022 00:38Robert BurkeRobert BurkeScore: 8,202Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 15, 2022 00:398,17287,825,30166,827,000997,0002,531,328
2Jul 15, 2022 00:388,17597,448,48065,858,0001,995,0002,420,736
3Jul 15, 2022 00:388,17686,155,54366,866,000998,0002,510,848
4Jul 15, 2022 00:398,17695,224,45766,863,000997,0002,265,088
5Jul 15, 2022 00:398,17787,272,67866,872,000998,0002,269,184
6Jul 15, 2022 00:388,18295,614,86566,916,000998,0002,531,328
7Jul 15, 2022 00:388,18491,166,17165,930,0001,997,0002,428,928
8Jul 15, 2022 00:388,18597,767,08866,936,000999,0002,531,328
9Jul 15, 2022 00:398,18690,811,28165,943,0001,998,0002,506,752
10Jul 15, 2022 00:388,19088,593,51066,974,000999,0002,527,232
11Jul 15, 2022 00:398,19192,199,65166,983,000999,0002,531,328
12Jul 15, 2022 00:388,19287,481,45466,994,000999,0002,428,928
13Jul 15, 2022 00:388,19789,339,94867,035,0001,000,0002,428,928
14Jul 15, 2022 00:398,19890,529,84467,041,0001,000,0002,527,232
15Jul 15, 2022 00:388,20189,829,33066,065,0002,001,0002,424,832
16Jul 15, 2022 00:388,20287,853,43667,078,0001,001,0002,531,328
17Jul 15, 2022 00:398,20295,861,73467,077,0001,001,0002,428,928
18Jul 15, 2022 00:398,20389,288,11266,082,0002,002,0002,531,328
19Jul 15, 2022 00:398,20392,515,63866,087,0002,002,0002,428,928
20Jul 15, 2022 00:388,20792,282,32467,121,0001,001,0002,527,232
21Jul 15, 2022 00:398,20988,658,39066,132,0002,004,0002,531,328
22Jul 15, 2022 00:398,20989,381,88467,134,0001,002,0002,531,328
23Jul 15, 2022 00:388,20993,654,91767,130,0001,001,0002,269,184
24Jul 15, 2022 00:398,21991,193,42467,216,0001,003,0002,531,328
25Jul 15, 2022 00:388,730124,644,09472,462,22102,289,664
26Jul 15, 2022 00:398,734136,473,00372,490,19602,179,072
27Jul 15, 2022 00:388,736129,287,38572,505,23102,297,856
28Jul 15, 2022 00:388,741140,185,84872,546,74002,297,856
29Jul 15, 2022 00:398,743132,919,73272,568,92402,170,880
30Jul 15, 2022 00:398,802129,741,31273,056,92602,301,952