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 listMar 5, 2026 19:12olliecrowolliecrowScore: 4,363Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 5, 2026 19:124,34134,630,07812,900,000992,0002,498,560
2Mar 5, 2026 19:124,34526,567,71613,903,00002,498,560
3Mar 5, 2026 19:124,34827,983,29012,919,000993,0002,273,280
4Mar 5, 2026 19:124,35131,421,57413,922,00002,273,280
5Mar 5, 2026 19:124,36332,692,74812,964,000997,0002,535,424
6Mar 5, 2026 19:124,37039,002,13112,985,000998,0002,535,424
7Mar 5, 2026 19:124,37232,089,80512,990,000999,0002,498,560
8Mar 5, 2026 19:124,38435,767,74313,026,0001,002,0002,535,424
9Mar 5, 2026 19:124,40031,391,78112,068,0002,011,0002,498,560