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 listJan 28, 2025 20:09Bohdan StorozhukBohdan StorozhukScore: 5,899Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 28, 2025 20:095,85537,468,88016,654,0002,081,0002,330,624
2Jan 28, 2025 20:095,89444,925,03317,869,000992,0002,330,624
3Jan 28, 2025 20:095,89446,693,35016,877,0001,985,0002,330,624
4Jan 28, 2025 20:095,89846,212,37117,882,000993,0002,494,464
5Jan 28, 2025 20:095,89944,378,96215,898,0002,980,0002,330,624
6Jan 28, 2025 20:095,90150,212,12918,884,00002,498,560
7Jan 28, 2025 20:095,90442,377,87217,898,000994,0002,502,656
8Jan 28, 2025 20:095,90444,339,46016,904,0001,988,0002,494,464
9Jan 28, 2025 20:095,90542,042,31218,897,00002,502,656