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 3, 2021 17:43Sergey SamokhvalovSergey SamokhvalovScore: 27,411Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 3, 2021 17:4427,267250,629,144167,235,00059,083,0002,269,184
2Jul 3, 2021 17:4327,298257,887,047173,437,00053,133,0002,383,872
3Jul 3, 2021 17:4327,298250,814,131170,432,00056,142,0002,392,064
4Jul 3, 2021 17:4427,303253,080,863167,455,00059,161,0002,387,968
5Jul 3, 2021 17:4327,316253,900,806167,797,00058,928,0002,269,184
6Jul 3, 2021 17:4427,331253,848,172162,888,00063,956,0002,269,184
7Jul 3, 2021 17:4427,341250,239,424165,948,00060,981,0002,269,184
8Jul 3, 2021 17:4327,350298,954,289227,007,33002,232,320
9Jul 3, 2021 17:4427,358266,770,199227,073,70702,236,416
10Jul 3, 2021 17:4327,369270,753,947227,166,64502,367,488
11Jul 3, 2021 17:4427,373308,376,952227,192,33102,240,512
12Jul 3, 2021 17:4327,393266,286,479227,364,57002,240,512
13Jul 3, 2021 17:4427,411253,295,114173,392,00054,122,0002,392,064
14Jul 3, 2021 17:4427,417292,589,924227,564,83302,232,320
15Jul 3, 2021 17:4427,442255,194,959166,829,00060,937,0002,269,184
16Jul 3, 2021 17:4327,457249,737,591169,922,00057,973,0002,396,160
17Jul 3, 2021 17:4327,459248,294,356166,935,00060,976,0002,383,872
18Jul 3, 2021 17:4327,533251,012,833166,382,00062,142,0002,269,184
19Jul 3, 2021 17:4427,541259,581,066169,440,00059,153,0002,269,184
20Jul 3, 2021 17:4427,563252,548,691169,835,00058,942,0002,392,064
21Jul 3, 2021 17:4327,594254,933,018172,026,00057,008,0002,392,064
22Jul 3, 2021 17:4427,619252,117,081166,170,00063,064,0002,269,184
23Jul 3, 2021 17:4327,701250,414,068168,942,00060,979,0002,510,848
24Jul 3, 2021 17:4327,704253,079,391168,960,00060,985,0002,269,184