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 5, 2021 11:00Sergey StreminSergey StreminScore: 23,783Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 5, 2021 11:0023,474269,959,911194,831,41502,232,320
2Sep 5, 2021 11:0023,520261,912,362195,218,44602,232,320
3Sep 5, 2021 11:0023,604262,642,097195,915,11602,224,128
4Sep 5, 2021 11:0223,628266,633,748196,112,60902,224,128
5Sep 5, 2021 11:0223,634261,438,178196,161,70702,224,128
6Sep 5, 2021 11:0023,676259,723,648196,509,53502,224,128
7Sep 5, 2021 11:0223,687222,277,549195,600,0001,003,0002,281,472
8Sep 5, 2021 11:0023,690265,513,047196,630,32502,228,224
9Sep 5, 2021 11:0223,706265,695,394196,758,72702,215,936
10Sep 5, 2021 11:0023,707259,609,186196,770,65102,224,128
11Sep 5, 2021 11:0023,709226,324,818195,785,000998,0002,281,472
12Sep 5, 2021 11:0223,744219,874,343196,073,0001,000,0002,375,680
13Sep 5, 2021 11:0023,746221,261,841196,091,0001,000,0002,375,680
14Sep 5, 2021 11:0223,753221,606,912196,147,0001,000,0002,281,472
15Sep 5, 2021 11:0023,757218,424,682196,179,0001,000,0002,281,472
16Sep 5, 2021 11:0023,772218,790,112197,311,00002,281,472
17Sep 5, 2021 11:0223,776221,788,238196,341,0001,001,0002,371,584
18Sep 5, 2021 11:0023,783218,122,697196,394,0001,002,0002,289,664
19Sep 5, 2021 11:0023,783219,934,849196,395,0001,002,0002,281,472
20Sep 5, 2021 11:0223,785224,733,342196,416,0001,002,0002,363,392
21Sep 5, 2021 11:0023,785225,205,009197,418,00002,371,584
22Sep 5, 2021 11:0023,790228,813,389195,459,0001,994,0002,367,488
23Sep 5, 2021 11:0223,791222,153,455197,463,00002,281,472
24Sep 5, 2021 11:0023,791218,475,617196,465,0001,002,0002,367,488
25Sep 5, 2021 11:0023,792224,695,234196,472,0001,002,0002,367,488
26Sep 5, 2021 11:0023,792218,730,288196,473,0001,002,0002,281,472
27Sep 5, 2021 11:0223,794224,415,044197,489,00002,281,472
28Sep 5, 2021 11:0023,796226,329,274197,509,00002,281,472
29Sep 5, 2021 11:0023,798225,495,649197,525,00002,359,296
30Sep 5, 2021 11:0223,802220,279,136197,554,00002,281,472
31Sep 5, 2021 11:0023,807221,766,202196,591,0001,003,0002,363,392
32Sep 5, 2021 11:0023,811221,679,165195,633,0001,996,0002,281,472
33Sep 5, 2021 11:0023,834222,233,102195,823,0001,998,0002,375,680
34Sep 5, 2021 11:0024,223224,251,372199,053,0002,000,0002,281,472
35Sep 5, 2021 11:0024,225224,116,003200,068,0001,000,0002,355,200
36Sep 5, 2021 11:0224,238223,664,506199,175,0002,001,0002,281,472