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:26scompa18scompa18Score: 5,118Success
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:265,10643,568,55314,298,0002,042,0002,285,568
2Jan 9, 2025 14:265,11845,767,12215,356,0001,023,0002,523,136
3Jan 9, 2025 14:265,12849,783,63215,385,0001,025,0002,269,184