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 22, 2024 13:40AnSaAnSaScore: 9,062,983Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 22, 2024 13:409,062,28829,072,729,29228,999,321,84602,232,320
2Jan 22, 2024 13:409,062,98329,065,141,50429,001,546,41502,269,184
3Jan 22, 2024 13:409,063,01929,073,110,55429,001,659,29002,273,280