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:42olliecrowolliecrowScore: 5,189Success
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:435,16036,989,69916,513,00002,490,368
2Mar 28, 2026 10:435,16136,217,90716,516,00002,494,464
3Mar 28, 2026 10:415,16235,395,48216,518,00002,494,464
4Mar 28, 2026 10:435,16336,855,79316,520,00002,494,464
5Mar 28, 2026 10:425,17639,953,44916,564,00002,498,560
6Mar 28, 2026 10:425,18041,199,29916,577,00002,490,368
7Mar 28, 2026 10:425,18737,363,97416,597,00002,498,560
8Mar 28, 2026 10:415,18937,192,71216,606,00002,498,560
9Mar 28, 2026 10:415,19840,742,63615,593,0001,039,0002,277,376
10Mar 28, 2026 10:435,20437,676,94616,653,00002,277,376
11Mar 28, 2026 10:435,20639,086,31016,659,00002,277,376
12Mar 28, 2026 10:435,22242,508,66716,710,00002,277,376
13Mar 28, 2026 10:425,49830,910,74816,559,0001,034,0002,494,464
14Mar 28, 2026 10:425,51228,998,28917,637,00002,494,464
15Mar 28, 2026 10:425,52339,767,80016,633,0001,039,0002,535,424