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:07mgildermgilderScore: 5,616Success
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:075,58433,610,32416,877,000992,0002,371,584
2Feb 1, 2025 00:075,58844,415,11916,888,000993,0002,367,488
3Feb 1, 2025 00:075,59139,066,48115,904,0001,988,0002,289,664
4Feb 1, 2025 00:075,59847,680,03816,917,000995,0002,371,584
5Feb 1, 2025 00:075,61650,499,19515,974,0001,996,0002,359,296
6Feb 1, 2025 00:075,61851,288,26315,980,0001,997,0002,453,504
7Feb 1, 2025 00:075,61949,844,49015,984,0001,998,0002,289,664
8Feb 1, 2025 00:075,62443,355,71216,998,000999,0002,371,584
9Feb 1, 2025 00:075,63935,250,99116,041,0002,005,0002,289,664