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 25, 2021 01:04Alexander KimAlexander KimScore: 5,875Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 25, 2021 01:045,81542,094,73517,575,0001,033,0002,334,720
2Dec 25, 2021 01:045,81742,332,93016,547,0002,068,0002,297,856
3Dec 25, 2021 01:045,84047,313,99316,613,0002,076,0002,334,720
4Dec 25, 2021 01:045,85844,702,64117,703,0001,041,0002,334,720
5Dec 25, 2021 01:045,85945,762,16817,708,0001,041,0002,310,144
6Dec 25, 2021 01:045,866104,495,11418,771,20602,277,376
7Dec 25, 2021 01:045,87585,127,16718,799,14202,285,568
8Dec 25, 2021 01:045,886109,361,61518,835,01002,273,280
9Dec 25, 2021 01:045,89544,817,76315,885,0002,978,0002,293,760
10Dec 25, 2021 01:045,89934,904,49615,898,0002,980,0002,334,720
11Dec 25, 2021 01:045,90044,482,74216,894,0001,987,0002,301,952
12Dec 25, 2021 01:045,90344,954,74715,906,0002,982,0002,334,720