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 28, 2026 11:54GKP00GKP00Score: 2,969,294Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 28, 2026 11:542,968,4249,528,639,6869,459,974,00038,983,0002,281,472
2Jan 28, 2026 11:542,969,2949,533,359,8289,465,759,00035,983,0002,281,472
3Jan 28, 2026 11:543,008,4559,655,702,9129,592,073,00034,982,0002,281,472