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, 2023 23:57Martin StensgårdMartin StensgårdScore: 5,444Success
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, 2023 23:575,39540,905,03816,248,0001,015,0002,428,928
2May 16, 2023 23:575,40639,869,83916,281,0001,017,0002,428,928
3May 16, 2023 23:575,40738,638,10716,284,0001,017,0002,273,280
4May 16, 2023 23:575,42341,375,31616,334,0001,020,0002,535,424
5May 16, 2023 23:575,42732,780,23616,346,0001,021,0002,428,928
6May 16, 2023 23:575,43843,484,22615,356,0002,047,0002,273,280
7May 16, 2023 23:575,44440,375,84216,398,0001,024,0002,273,280
8May 16, 2023 23:575,44943,711,18016,413,0001,025,0002,424,832
9May 16, 2023 23:575,46335,149,50117,481,00002,424,832
10May 16, 2023 23:575,57377,306,90517,832,98402,179,072
11May 16, 2023 23:575,57484,096,63217,836,40302,179,072
12May 16, 2023 23:575,59177,106,83117,890,56602,179,072