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 listMay 1, 2026 18:11Victor MerckléVictor MerckléScore: 5,705Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 1, 2026 18:115,67635,375,05916,146,0002,018,0002,449,408
2May 1, 2026 18:115,68637,180,18017,126,0001,070,0002,383,872
3May 1, 2026 18:115,68939,537,15517,194,0001,011,0002,379,776
4May 1, 2026 18:115,69137,184,80816,189,0002,023,0002,383,872
5May 1, 2026 18:115,70535,516,67217,244,0001,014,0002,387,968
6May 1, 2026 18:115,71636,980,47117,276,0001,016,0002,383,872
7May 1, 2026 18:115,72440,680,00517,301,0001,017,0002,379,776
8May 1, 2026 18:115,73335,798,73817,328,0001,019,0002,379,776
9May 1, 2026 18:115,74238,485,02617,356,0001,020,0002,387,968