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 listNov 26, 2022 18:45AmirAmirScore: 2,531,644Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 26, 2022 18:452,531,2718,166,761,4748,100,066,54002,252,800
2Nov 26, 2022 18:452,531,6448,171,776,0778,101,259,43002,248,704
3Nov 26, 2022 18:452,646,8138,539,573,5858,469,803,09702,256,896