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 listNov 8, 2023 10:48Robert BurkeRobert BurkeError
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 6, 2023 10:2400000Error: No answer to stdout. Died or killed?stderr
2Nov 6, 2023 10:247,53293,581,32161,507,0001,008,0002,424,832
3Nov 6, 2023 10:247,53990,340,72462,574,00002,428,928
4Nov 8, 2023 10:487,54191,982,12962,587,00002,424,832
5Nov 8, 2023 10:487,54587,689,19262,626,00002,277,376
6Nov 6, 2023 10:247,55086,319,68462,669,00002,277,376
7Nov 8, 2023 10:487,56685,009,19260,801,0001,993,0002,273,280
8Nov 8, 2023 10:487,59085,038,85261,997,000999,0002,539,520
9Nov 8, 2023 10:487,59384,372,46262,023,0001,000,0002,539,520
10Nov 8, 2023 10:487,59480,981,31162,031,0001,000,0002,428,928
11Nov 6, 2023 10:247,59687,591,30762,043,0001,000,0002,539,520
12Nov 8, 2023 10:487,59790,620,96862,058,0001,000,0002,539,520
13Nov 8, 2023 10:487,59984,663,73562,072,0001,001,0002,428,928
14Nov 6, 2023 10:247,60080,315,75162,083,0001,001,0002,433,024
15Nov 6, 2023 10:247,60187,522,93462,087,0001,001,0002,428,928
16Nov 6, 2023 10:247,60182,234,60862,087,0001,001,0002,277,376
17Nov 6, 2023 10:247,60482,126,35261,111,0002,003,0002,428,928
18Nov 6, 2023 10:247,60684,679,91661,122,0002,004,0002,510,848
19Nov 8, 2023 10:487,60989,336,64362,151,0001,002,0002,277,376
20Nov 8, 2023 10:487,60988,975,59162,152,0001,002,0002,437,120
21Nov 6, 2023 10:247,61184,704,05161,163,0002,005,0002,424,832
22Nov 6, 2023 10:247,61184,763,11162,172,0001,002,0002,510,848
23Nov 8, 2023 10:487,61481,505,24862,192,0001,003,0002,433,024
24Nov 8, 2023 10:487,63485,817,81663,360,00002,510,848
25Nov 6, 2023 10:247,70886,874,58262,976,000999,0002,428,928
26Nov 8, 2023 10:487,762128,932,54064,425,84102,170,880
27Nov 6, 2023 10:247,771121,878,04264,501,94102,170,880
28Nov 8, 2023 10:487,781114,760,01364,578,81602,301,952
29Nov 6, 2023 10:247,788136,286,69364,640,12502,174,976
30Nov 8, 2023 10:487,821125,121,12364,914,47202,179,072
31Nov 6, 2023 10:247,835131,379,37865,031,99102,297,856