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 26, 2023 00:14IhebIhebScore: 5,913Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 26, 2023 00:115,73643,413,27416,316,0002,039,0002,273,280
2Sep 26, 2023 00:115,73638,083,36816,315,0002,039,0002,289,664
3Sep 26, 2023 00:115,75033,336,65918,401,00002,277,376
4Sep 26, 2023 00:115,76845,273,45218,458,00002,289,664
5Sep 26, 2023 00:115,77342,388,57917,446,0001,026,0002,273,280
6Sep 26, 2023 00:115,78040,778,44416,441,0002,055,0002,289,664
7Sep 26, 2023 00:115,78041,102,04817,468,0001,027,0002,519,040
8Sep 26, 2023 00:115,79439,165,00717,511,0001,030,0002,277,376
9Sep 26, 2023 00:115,81549,608,36118,607,00002,289,664
10Sep 26, 2023 00:145,84835,615,84418,712,00002,285,568
11Sep 26, 2023 00:145,89540,123,53018,864,00002,285,568
12Sep 26, 2023 00:145,90137,628,76116,896,0001,987,0002,273,280
13Sep 26, 2023 00:145,91340,628,73117,925,000995,0002,285,568
14Sep 26, 2023 00:145,92445,081,37516,961,0001,995,0002,383,872
15Sep 26, 2023 00:145,93542,272,12216,992,0001,999,0002,269,184
16Sep 26, 2023 00:145,95643,081,81417,053,0002,006,0002,269,184
17Sep 26, 2023 00:115,95984,182,78919,067,53102,289,664
18Sep 26, 2023 00:115,96086,870,51119,072,80702,301,952
19Sep 26, 2023 00:145,97842,962,79317,117,0002,013,0002,277,376
20Sep 26, 2023 00:145,98640,952,72217,139,0002,016,0002,289,664
21Sep 26, 2023 00:116,01061,999,47419,233,41902,301,952
22Sep 26, 2023 00:146,10590,957,71619,536,70502,301,952
23Sep 26, 2023 00:146,12182,842,60319,586,64302,297,856
24Sep 26, 2023 00:146,14787,623,29619,670,93202,289,664