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 listApr 26, 2024 22:45Joad NacerJoad NacerScore: 15,211Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 26, 2024 22:4515,020189,352,356124,666,31202,265,088
2Apr 26, 2024 22:4515,026180,162,343124,717,47602,277,376
3Apr 26, 2024 22:4515,040186,505,357124,834,30202,281,472
4Apr 26, 2024 22:4515,052184,052,387124,934,77102,273,280
5Apr 26, 2024 22:5915,100190,748,931125,327,19202,265,088
6Apr 26, 2024 22:4515,115188,795,309125,453,75802,277,376
7Apr 26, 2024 22:4515,191149,838,508124,087,0002,001,0002,285,568
8Apr 26, 2024 22:4515,194149,690,792124,107,0002,001,0002,285,568
9Apr 26, 2024 22:4515,195156,774,788125,118,0001,000,0002,285,568
10Apr 26, 2024 22:4515,198149,935,782124,139,0002,002,0002,285,568
11Apr 26, 2024 22:5915,199148,801,532124,150,0002,002,0002,285,568
12Apr 26, 2024 22:4515,201146,781,057124,170,0002,002,0002,519,040
13Apr 26, 2024 22:5915,203149,965,389124,184,0002,002,0002,277,376
14Apr 26, 2024 22:4515,204150,283,426125,193,0001,001,0002,285,568
15Apr 26, 2024 22:4515,205153,810,780124,195,0002,003,0002,285,568
16Apr 26, 2024 22:4515,206149,228,304124,204,0002,003,0002,285,568
17Apr 26, 2024 22:4515,207149,996,627124,215,0002,003,0002,506,752
18Apr 26, 2024 22:5915,208155,028,755124,220,0002,003,0002,510,848
19Apr 26, 2024 22:5915,211148,349,886125,253,0001,002,0002,510,848
20Apr 26, 2024 22:4515,213149,806,097124,264,0002,004,0002,510,848
21Apr 26, 2024 22:5915,214149,431,700124,275,0002,004,0002,285,568
22Apr 26, 2024 22:4515,214155,011,561124,275,0002,004,0002,260,992
23Apr 26, 2024 22:4515,219154,054,895125,317,0001,002,0002,277,376
24Apr 26, 2024 22:4515,220149,227,582125,321,0001,002,0002,519,040
25Apr 26, 2024 22:4515,234155,055,658124,434,0002,007,0002,514,944
26Apr 26, 2024 22:4515,235184,906,339126,448,33702,273,280
27Apr 26, 2024 22:5915,236151,139,398125,456,0001,003,0002,285,568
28Apr 26, 2024 22:4515,247149,474,357125,542,0001,004,0002,281,472
29Apr 26, 2024 22:5915,247157,949,624126,546,00002,506,752
30Apr 26, 2024 22:4515,278153,735,128124,813,0001,997,0002,285,568
31Apr 26, 2024 22:4515,280153,416,851124,824,0001,997,0002,510,848
32Apr 26, 2024 22:5915,288160,877,159125,891,000999,0002,510,848
33Apr 26, 2024 22:5915,415189,165,636127,941,98602,277,376
34Apr 26, 2024 22:4515,536152,868,710126,949,0001,999,0002,510,848
35Apr 26, 2024 22:5915,815197,293,437131,265,42002,269,184
36Apr 26, 2024 22:5915,882160,751,537130,824,000998,0002,285,568