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 listApr 25, 2024 21:23emily graceemily graceScore: 5,481Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 25, 2024 21:235,45888,284,75017,465,33802,269,184
2Apr 25, 2024 21:245,45979,261,46317,467,45202,269,184
3Apr 25, 2024 21:235,46489,135,14317,484,15302,265,088
4Apr 25, 2024 21:245,48173,317,20217,538,10402,260,992
5Apr 25, 2024 21:245,48968,057,09717,565,80302,260,992
6Apr 25, 2024 21:235,49788,464,24117,590,73102,260,992