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, 2025 21:05zielajzielajScore: 367,506Success
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, 2025 21:09366,7981,202,655,3151,173,755,00002,494,464
2Apr 25, 2025 21:05366,9581,198,257,9331,173,267,000997,0002,265,088
3Apr 25, 2025 21:09367,4481,205,484,1511,174,838,000997,0002,494,464
4Apr 25, 2025 21:05367,5061,199,780,0991,175,022,000997,0002,265,088
5Apr 25, 2025 21:09367,6251,200,786,9761,176,401,00002,494,464
6Apr 25, 2025 21:05367,8411,199,493,9351,177,090,00002,527,232