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 20, 2025 20:52Adam FolwarcznyAdam FolwarcznyScore: 4,529Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 20, 2025 20:524,52532,787,55913,446,0001,034,0002,523,136
2Apr 20, 2025 20:524,52634,553,82914,482,00002,383,872
3Apr 20, 2025 20:524,52630,642,87513,450,0001,034,0002,265,088
4Apr 20, 2025 20:524,52734,432,80114,487,00002,260,992
5Apr 20, 2025 20:524,52930,643,08014,494,00002,400,256
6Apr 20, 2025 20:524,54035,492,52513,490,0001,037,0002,400,256
7Apr 20, 2025 20:524,54433,144,10814,541,00002,523,136
8Apr 20, 2025 20:524,54932,367,96513,518,0001,039,0002,523,136
9Apr 20, 2025 20:524,55031,244,88613,520,0001,040,0002,478,080