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 17, 2021 16:58Yurkov AlekseyYurkov AlekseyScore: 2,518,489Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 17, 2021 16:582,506,8198,073,473,5858,021,820,40202,252,800
2May 17, 2021 16:582,518,4898,121,494,6378,059,163,70602,256,896
3May 17, 2021 16:582,621,9568,441,307,1518,390,259,26702,248,704