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 listJul 25, 2021 20:27Adam FolwarcznyAdam FolwarcznyScore: 5,697Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 25, 2021 20:275,66859,834,40818,138,35702,244,608
2Jul 25, 2021 20:275,67187,553,86318,145,63102,179,072
3Jul 25, 2021 20:275,67276,354,01418,151,11202,297,856
4Jul 25, 2021 20:275,69778,628,03518,230,43302,301,952
5Jul 25, 2021 20:275,72162,286,11618,308,68102,301,952
6Jul 25, 2021 20:275,72992,695,54818,333,15402,297,856