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 22, 2021 04:02Yuriy LyfenkoYuriy LyfenkoScore: 6,379Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 22, 2021 04:025,673572,862,74418,152,67802,252,800
2Dec 22, 2021 04:025,685572,786,47418,192,40302,301,952
3Dec 22, 2021 04:025,718581,969,59718,298,76202,252,800
4Dec 22, 2021 04:026,286546,402,92016,092,0004,023,000438,272
5Dec 22, 2021 04:026,307547,966,57216,147,0004,036,000450,560
6Dec 22, 2021 04:026,339546,206,47215,455,0004,829,0002,334,720
7Dec 22, 2021 04:026,379551,980,57816,525,0003,888,0002,531,328
8Dec 22, 2021 04:026,385545,857,39916,345,0004,086,0002,334,720
9Dec 22, 2021 04:026,417547,074,01115,400,0005,133,0002,334,720
10Dec 22, 2021 04:026,472553,756,04115,532,0005,177,0002,338,816
11Dec 22, 2021 04:026,504548,988,01116,849,0003,964,0002,334,720
12Dec 22, 2021 04:026,568545,845,55517,866,0003,152,0002,334,720