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 9, 2025 20:50Ian MckibbenIan MckibbenScore: 9,018Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 9, 2025 20:508,96760,533,92027,669,0001,024,0002,277,376
2Jan 9, 2025 20:509,01859,359,28926,868,0001,990,0002,289,664
3Jan 9, 2025 20:509,06457,556,36827,006,0002,000,0002,289,664