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 12:50scompa18scompa18Score: 5,150Success
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 12:505,12433,123,21514,347,0002,049,0002,285,568
2Jan 9, 2025 12:505,15036,267,74115,450,0001,030,0002,285,568
3Jan 9, 2025 12:505,15231,612,06514,425,0002,060,0002,285,568