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 24, 2025 19:41lukostlukostError
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 24, 2025 19:4000000Error: expected "976126 ", got "976125 "stderr
2Apr 24, 2025 19:4000000Error: expected "977681 ", got "977680 "stderr
3Apr 24, 2025 19:415,28842,583,43416,920,00002,441,216
4Apr 24, 2025 19:415,29438,243,88714,949,0001,993,0002,531,328
5Apr 24, 2025 19:415,31531,213,21316,009,0001,000,0002,531,328