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 07:13lukostlukostScore: 5,284Success
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 07:135,27844,031,99514,903,0001,987,0002,277,376
2Apr 25, 2025 07:135,28436,935,12715,853,0001,056,0002,437,120
3Apr 25, 2025 07:135,32647,524,65515,039,0002,005,0002,441,216