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 listJan 2, 2026 19:16Mark R BestMark R BestScore: 5,578Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 2, 2026 19:165,53538,264,68716,671,0001,041,0002,285,568
2Jan 2, 2026 19:165,57840,094,82416,859,000991,0002,289,664
3Jan 2, 2026 19:165,58845,622,85415,895,0001,986,0002,289,664