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 listDec 31, 2022 17:16Hal FHal FScore: 5,523Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 31, 2022 17:165,45440,950,40116,428,0001,026,0002,289,664
2Dec 31, 2022 17:165,46938,729,07116,472,0001,029,0002,289,664
3Dec 31, 2022 17:165,48044,134,87416,505,0001,031,0002,289,664
4Dec 31, 2022 17:165,48143,645,77216,508,0001,031,0002,289,664
5Dec 31, 2022 17:165,48245,070,94017,541,00002,277,376
6Dec 31, 2022 17:165,48235,908,10616,510,0001,031,0002,289,664
7Dec 31, 2022 17:165,52347,812,26417,674,00002,289,664
8Dec 31, 2022 17:165,53752,816,17016,675,0001,042,0002,289,664
9Dec 31, 2022 17:165,67843,616,95616,152,0002,019,0002,289,664
10Dec 31, 2022 17:165,71790,058,88118,294,46502,297,856
11Dec 31, 2022 17:165,73185,556,91618,338,25402,293,760
12Dec 31, 2022 17:165,75684,528,89918,420,74602,297,856