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 listApr 27, 2025 15:50lukostlukostScore: 5,189Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 27, 2025 15:505,16235,595,42115,486,0001,032,0002,535,424
2Apr 27, 2025 15:505,18934,299,87615,569,0001,037,0002,433,024
3Apr 27, 2025 15:505,21744,893,85915,651,0001,043,0002,535,424