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 4, 2026 14:59C21C21Error
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 4, 2026 14:590207,865,28286,617,000110,372,0002,113,536expected "974959 ", got "79884220 "
2Aug 4, 2026 14:590205,137,56587,862,000106,442,0002,113,536expected "977954 ", got "3272404535 "
3Aug 4, 2026 14:590208,262,54686,703,000110,358,0002,113,536expected "977154 ", got "3014155272 "