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 15:17scompa18scompa18Score: 5,053Success
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 15:175,04740,968,23315,140,0001,009,0002,285,568
2Jan 9, 2025 15:175,05338,859,51714,147,0002,021,0002,285,568
3Jan 9, 2025 15:175,10143,438,74015,304,0001,020,0002,285,568