Count uint8 Sergey Svistunov

Count the number of bytes equal to 127 in a binary stream as fast as possible.

Input: 250 000 000 uint8 values in binary on STDIN.

Output: The count of elements equal to 127, printed as a decimal string.

Back to listMay 16, 2021 18:34Yuriy LyfenkoYuriy LyfenkoScore: 5,442Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 16, 2021 18:335,4011,703,021,44515,249,0002,033,0002,260,992
2May 16, 2021 18:335,4073,478,747,44817,301,00002,265,088
3May 16, 2021 18:335,4133,545,604,68614,435,0002,887,0002,523,136
4May 16, 2021 18:345,416538,114,55517,332,00002,527,232
5May 16, 2021 18:345,4221,048,041,58416,386,000963,0002,523,136
6May 16, 2021 18:335,4244,912,022,73517,357,00002,523,136
7May 16, 2021 18:345,4254,272,816,48613,503,0003,858,0002,523,136
8May 16, 2021 18:345,4301,658,225,63716,353,0001,022,0002,523,136
9May 16, 2021 18:335,4353,341,116,54615,460,0001,932,0002,523,136
10May 16, 2021 18:345,4351,656,054,86715,461,0001,932,0002,260,992
11May 16, 2021 18:345,4362,870,594,00116,372,0001,023,0002,260,992
12May 16, 2021 18:335,4384,303,265,86914,500,0002,900,0002,260,992
13May 16, 2021 18:345,4423,770,315,11514,513,0002,902,0002,527,232
14May 16, 2021 18:345,4434,887,093,81014,516,0002,903,0002,523,136
15May 16, 2021 18:335,4541,277,983,38915,514,0001,939,0002,514,944
16May 16, 2021 18:345,480852,060,94116,562,000974,0002,260,992
17May 16, 2021 18:335,4803,693,223,75916,561,000974,0002,260,992
18May 16, 2021 18:335,5784,553,088,92116,857,000991,0002,387,968
19May 16, 2021 18:345,611598,355,50517,956,40502,285,568
20May 16, 2021 18:335,612560,024,13817,958,08202,281,472
21May 16, 2021 18:345,6202,796,192,47517,983,47002,285,568
22May 16, 2021 18:335,6342,567,235,46318,028,18902,277,376
23May 16, 2021 18:345,6391,813,371,74618,043,96502,281,472
24May 16, 2021 18:335,6432,439,593,70018,058,49802,285,568