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 21:39olliecrowolliecrowScore: 4,356Success
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 21:354,33828,996,28213,881,00002,490,368
2Mar 10, 2026 04:144,34031,653,48213,889,00002,486,272
3Mar 5, 2026 21:354,34229,859,89012,901,000992,0002,502,656
4Mar 10, 2026 04:144,34732,174,43513,910,00002,273,280
5Mar 5, 2026 21:594,34929,001,20712,923,000994,0002,535,424
6Mar 5, 2026 22:084,35029,700,63912,926,000994,0002,535,424
7Mar 5, 2026 21:394,35030,672,75112,926,000994,0002,535,424
8Mar 5, 2026 22:084,35126,748,50312,928,000994,0002,535,424
9Mar 5, 2026 21:434,35435,390,49511,942,0001,990,0002,502,656
10Mar 5, 2026 21:434,35628,679,98012,945,000995,0002,494,464
11Mar 5, 2026 21:594,35846,833,28412,951,000996,0002,498,560
12Mar 5, 2026 22:084,35831,370,55212,951,000996,0002,535,424
13Mar 5, 2026 21:394,35937,294,49212,953,000996,0002,502,656
14Mar 5, 2026 21:354,36531,668,24012,970,000997,0002,535,424
15Mar 5, 2026 21:594,37335,551,04912,996,000999,0002,535,424
16Mar 5, 2026 21:434,38031,879,57013,015,0001,001,0002,273,280
17Mar 5, 2026 21:394,38631,356,34413,033,0001,002,0002,494,464
18Mar 10, 2026 04:144,39729,325,98512,060,0002,010,0002,531,328