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 listApr 19, 2024 11:41Joad NacerJoad NacerScore: 5,168Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 19, 2024 11:415,13134,140,73615,393,0001,026,0002,277,376
2Apr 19, 2024 11:415,14031,760,48315,421,0001,028,0002,281,472
3Apr 19, 2024 11:415,14938,681,04015,449,0001,029,0002,519,040
4Apr 19, 2024 11:415,15235,245,77615,456,0001,030,0002,277,376
5Apr 19, 2024 11:415,15640,253,67413,406,0003,093,0002,277,376
6Apr 19, 2024 11:415,16234,684,89713,422,0003,097,0002,519,040
7Apr 19, 2024 11:415,16835,161,40516,538,00002,506,752
8Apr 19, 2024 11:415,21034,932,27713,730,0002,942,0002,514,944
9Apr 19, 2024 11:415,22167,770,34616,707,05102,297,856
10Apr 19, 2024 11:415,25885,107,91616,826,89102,179,072
11Apr 19, 2024 11:415,29088,836,03016,928,42202,301,952
12Apr 19, 2024 11:415,69054,061,37414,161,0004,046,0002,326,528