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 26, 2024 05:13AnSaAnSaScore: 10,192Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 26, 2024 05:1310,174101,808,21432,557,55702,310,144
2Jan 26, 2024 05:1310,19297,718,67332,614,70402,301,952
3Jan 26, 2024 05:1310,401105,760,15333,282,35602,256,896