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 23, 2024 08:37AnSaAnSaScore: 7,523Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 23, 2024 08:377,11764,205,75222,775,61902,207,744
2Jan 23, 2024 08:377,523102,125,58424,073,86802,215,936
3Jan 23, 2024 08:377,54389,771,54424,137,21102,211,840