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 listFeb 18, 2025 16:53AlexAlexScore: 5,987Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 18, 2025 16:535,97147,981,37517,097,0002,011,0002,265,088
2Feb 18, 2025 16:535,97849,977,39117,118,0002,013,0002,277,376
3Feb 18, 2025 16:535,98146,802,26517,124,0002,014,0002,277,376
4Feb 18, 2025 16:535,98647,198,25217,140,0002,016,0002,277,376
5Feb 18, 2025 16:535,98744,529,58817,141,0002,016,0002,277,376
6Feb 18, 2025 16:536,00548,808,00717,195,0002,022,0002,277,376
7Feb 18, 2025 16:536,01047,351,44317,207,0002,024,0002,277,376
8Feb 18, 2025 16:536,01147,633,28318,223,0001,012,0002,277,376
9Feb 18, 2025 16:536,02145,061,86618,253,0001,014,0002,277,376