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 listAug 6, 2022 19:19Eugene ZhydzetskiEugene ZhydzetskiScore: 29,700Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 6, 2022 19:1929,613164,350,28594,761,71502,248,704
2Aug 6, 2022 19:1929,700164,677,88595,041,21702,236,416
3Aug 6, 2022 19:1929,709152,806,24395,067,25602,240,512