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 1, 2025 00:21mgildermgilderScore: 5,474Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 1, 2025 00:215,46237,487,14916,449,0001,028,0002,482,176
2Feb 1, 2025 00:215,46540,529,29717,488,00002,367,488
3Feb 1, 2025 00:215,46735,546,65716,466,0001,029,0002,355,200
4Feb 1, 2025 00:215,46840,835,00816,470,0001,029,0002,367,488
5Feb 1, 2025 00:215,47440,101,79316,487,0001,030,0002,371,584
6Feb 1, 2025 00:215,48636,744,04617,555,00002,289,664
7Feb 1, 2025 00:215,51347,080,81316,605,0001,037,0002,289,664
8Feb 1, 2025 00:215,51538,920,63016,611,0001,038,0002,289,664
9Feb 1, 2025 00:215,51743,764,53916,617,0001,038,0002,289,664