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: 4,480Success
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:424,43135,418,37113,168,0001,012,0002,531,328
2Mar 28, 2026 10:434,44131,017,63813,197,0001,015,0002,502,656
3Mar 28, 2026 10:434,44428,805,59413,207,0001,015,0002,498,560
4Mar 28, 2026 10:414,44931,545,40714,236,00002,494,464
5Mar 28, 2026 10:424,45432,109,44014,254,00002,531,328
6Mar 28, 2026 10:434,46134,884,40813,256,0001,019,0002,502,656
7Mar 28, 2026 10:414,46829,181,34714,298,00002,527,232
8Mar 28, 2026 10:414,48037,182,52914,335,00002,498,560
9Mar 28, 2026 10:434,48634,937,86013,331,0001,025,0002,494,464
10Mar 28, 2026 10:434,48930,417,08514,364,00002,531,328
11Mar 28, 2026 10:424,49441,253,92014,381,00002,482,176
12Mar 28, 2026 10:434,50327,852,09013,381,0001,029,0002,498,560
13Mar 28, 2026 10:424,57729,525,32514,646,00002,490,368
14Mar 28, 2026 10:424,58632,824,09814,676,00002,498,560
15Mar 28, 2026 10:424,66445,628,51313,930,000995,0002,490,368