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 28, 2026 10:08olliecrowolliecrowScore: 4,349Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 28, 2026 10:074,33629,346,44612,885,000991,0002,494,464
2Mar 28, 2026 10:084,33733,105,89212,886,000991,0002,494,464
3Mar 28, 2026 10:074,33827,163,13012,891,000991,0002,535,424
4Mar 28, 2026 10:084,33930,001,37912,893,000991,0002,494,464
5Mar 28, 2026 10:074,34029,746,57712,896,000992,0002,498,560
6Mar 28, 2026 10:084,34133,549,53413,891,00002,494,464
7Mar 28, 2026 10:084,34339,996,52712,904,000992,0002,494,464
8Mar 28, 2026 10:084,34932,652,00512,922,000994,0002,498,560
9Mar 28, 2026 10:074,35133,358,27513,923,00002,277,376
10Mar 28, 2026 10:084,35328,293,23813,928,00002,498,560
11Mar 28, 2026 10:074,35529,328,88612,940,000995,0002,494,464
12Mar 28, 2026 10:084,36239,218,96912,962,000997,0002,498,560
13Mar 28, 2026 10:074,36428,754,39312,969,000997,0002,277,376
14Mar 28, 2026 10:084,36940,379,55912,984,000998,0002,494,464
15Mar 28, 2026 10:084,37931,918,97613,012,0001,000,0002,277,376