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 listSep 28, 2023 21:39IhebIhebScore: 5,902Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 28, 2023 21:295,81848,077,18417,583,0001,034,0002,273,280
2Sep 28, 2023 21:295,82735,243,37917,610,0001,035,0002,277,376
3Sep 28, 2023 21:295,84635,078,04417,667,0001,039,0002,289,664
4Sep 28, 2023 21:395,84746,320,92317,671,0001,039,0002,281,472
5Sep 28, 2023 21:295,84946,727,84018,716,00002,277,376
6Sep 28, 2023 21:295,85640,641,42018,738,00002,285,568
7Sep 28, 2023 21:395,89445,930,89117,868,000992,0002,289,664
8Sep 28, 2023 21:295,89550,166,28217,871,000992,0002,523,136
9Sep 28, 2023 21:395,89544,134,60116,878,0001,985,0002,387,968
10Sep 28, 2023 21:295,89754,711,36317,876,000993,0002,273,280
11Sep 28, 2023 21:295,89944,944,87616,889,0001,987,0002,273,280
12Sep 28, 2023 21:295,90045,890,82616,893,0001,987,0002,289,664
13Sep 28, 2023 21:395,90285,960,14618,887,99802,297,856
14Sep 28, 2023 21:395,90344,368,70416,900,0001,988,0002,289,664
15Sep 28, 2023 21:395,90449,377,19517,898,000994,0002,289,664
16Sep 28, 2023 21:395,90743,770,58517,853,0001,050,0002,289,664
17Sep 28, 2023 21:295,91361,169,91518,922,42402,293,760
18Sep 28, 2023 21:395,91645,501,18816,939,0001,992,0002,289,664
19Sep 28, 2023 21:395,92948,235,07416,975,0001,997,0002,281,472
20Sep 28, 2023 21:295,93594,040,07518,992,04502,285,568
21Sep 28, 2023 21:395,93834,786,81817,000,0002,000,0002,273,280
22Sep 28, 2023 21:395,949104,361,73519,036,92602,293,760
23Sep 28, 2023 21:295,96166,007,80619,074,33902,297,856
24Sep 28, 2023 21:395,96399,581,10919,081,10002,297,856