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 29, 2021 22:26Yuriy LyfenkoYuriy LyfenkoScore: 5,192Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 29, 2021 22:265,15139,081,75515,453,0001,030,0002,404,352
2May 29, 2021 22:265,15334,696,89716,490,00002,400,256
3May 29, 2021 22:265,16239,146,49915,487,0001,032,0002,281,472
4May 29, 2021 22:265,16543,818,30116,528,00002,281,472
5May 29, 2021 22:265,17138,982,71016,548,00002,400,256
6May 29, 2021 22:265,17830,333,17816,568,00002,281,472
7May 29, 2021 22:265,19241,534,71216,615,00002,281,472
8May 29, 2021 22:265,19342,922,53115,581,0001,038,0002,281,472
9May 29, 2021 22:265,20334,165,47116,649,00002,519,040
10May 29, 2021 22:265,25974,697,60316,827,42702,297,856
11May 29, 2021 22:265,29191,763,59016,930,36302,289,664
12May 29, 2021 22:265,30495,662,98516,971,21202,293,760