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 14:25scompa18scompa18Score: 5,132Success
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 14:255,11838,757,55715,355,0001,023,0002,277,376
2Jan 9, 2025 14:255,13232,414,33014,369,0002,052,0002,527,232
3Jan 9, 2025 14:255,15234,614,65115,455,0001,030,0002,285,568