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 listDec 29, 2025 13:18Mark R BestMark R BestScore: 13,272Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 29, 2025 13:1813,12668,693,22116,001,00026,002,0002,318,336
2Dec 29, 2025 13:1813,12869,561,70518,004,00024,006,0002,310,144
3Dec 29, 2025 13:1813,17163,394,58816,056,00026,091,0002,289,664
4Dec 29, 2025 13:1813,25165,844,15816,154,00026,250,0002,297,856
5Dec 29, 2025 13:1813,27266,209,11412,134,00030,335,0002,301,952
6Dec 29, 2025 13:1813,34379,311,64510,166,00032,531,0002,289,664
7Dec 29, 2025 13:1813,41769,501,95613,978,00028,955,0002,289,664
8Dec 29, 2025 13:1813,43367,429,30812,996,00029,990,0002,289,664
9Dec 29, 2025 13:1813,48065,148,53915,047,00028,088,0002,457,600