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 09:47olliecrowolliecrowScore: 10,820Success
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 09:4710,75755,483,2774,049,00030,372,0002,404,352
2Mar 28, 2026 09:4710,76767,325,4475,067,00029,388,0002,285,568
3Mar 28, 2026 09:4710,76855,012,5577,094,00027,362,0002,416,640
4Mar 28, 2026 09:4710,78158,392,8076,088,00028,412,0002,285,568
5Mar 28, 2026 09:4710,82058,355,0574,073,00030,552,0002,408,448
6Mar 28, 2026 09:4710,83462,838,6427,138,00027,532,0002,420,736
7Mar 28, 2026 09:4710,84862,863,5236,125,00028,587,0002,412,544
8Mar 28, 2026 09:4710,94061,501,35210,002,00025,007,0002,412,544
9Mar 28, 2026 09:4711,13566,229,7876,108,00029,525,0002,285,568